1 instantiation of Scope
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
ExpressionCompilerTestHelpers.cs (1)
438var result = scopes.SelectAsArray(s => new Scope(s.GetStartOffset(), s.GetEndOffset(), ImmutableArray.CreateRange(s.GetLocals().Select(l => l.GetName())), isEndInclusive));
11 references to Scope
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (4)
ExpressionCompilerTests.cs (4)
355var outerScope = scopes.First(s => s.Locals.Contains("x")); 376var previousScope = (Scope)null; 380var scope = scopes.GetInnermostScope(offset);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (6)
ExpressionCompilerTestHelpers.cs (6)
429internal static ImmutableArray<Scope> GetScopes(this ISymUnmanagedReader symReader, int methodToken, int methodVersion, bool isEndInclusive) 434return ImmutableArray<Scope>.Empty; 443internal static Scope GetInnermostScope(this ImmutableArray<Scope> scopes, int offset) 445Scope result = null; 446foreach (var scope in scopes)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ExpressionCompilerTests.vb (1)
351Dim previousScope As Scope = Nothing