1 write to ScopeTree
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
58ScopeTree = scopeTree;
18 references to ScopeTree
Microsoft.CodeAnalysis.CSharp (18)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (9)
142VisitNestedFunctions(ScopeTree, (scope, function) => 213var env = ScopeTree.DeclaredEnvironment; 232bool cantRemove = CheckNestedFunctions(ScopeTree, (scope, closure) => 258VisitNestedFunctions(ScopeTree, (scope, closure) => 269ScopeTree.DeclaredEnvironment = null; 270VisitNestedFunctions(ScopeTree, (scope, nested) => 283VisitScopeTree(ScopeTree, scope => 365VisitScopeTree(ScopeTree, scope => 679ScopeTree.Free();
Lowering\ClosureConversion\ClosureConversion.cs (9)
147/// where the <see cref="Analysis.ScopeTree"/> could be walked to build 189Analysis.VisitNestedFunctions(analysis.ScopeTree, (scope, function) => 335Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 401Analysis.VisitNestedFunctions(_analysis.ScopeTree, (scope, nestedFunction) => 844Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Method.OriginalDefinition).SynthesizedLoweredMethod : node.Method; 863var function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, localFunc.OriginalDefinition); 1492Analysis.NestedFunction function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Symbol); 1506Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 1651lambdaScope != Analysis.GetScopeParent(_analysis.ScopeTree, node.Body).BoundNode &&