1 write to ScopeTree
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
60ScopeTree = scopeTree;
18 references to ScopeTree
Microsoft.CodeAnalysis.CSharp (18)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (9)
145VisitNestedFunctions(ScopeTree, (scope, function) => 217var env = ScopeTree.DeclaredEnvironment; 236bool cantRemove = CheckNestedFunctions(ScopeTree, (scope, closure) => 262VisitNestedFunctions(ScopeTree, (scope, closure) => 273ScopeTree.DeclaredEnvironment = null; 274VisitNestedFunctions(ScopeTree, (scope, nested) => 287VisitScopeTree(ScopeTree, scope => 369VisitScopeTree(ScopeTree, scope => 698ScopeTree.Free();
Lowering\ClosureConversion\ClosureConversion.cs (9)
149/// where the <see cref="Analysis.ScopeTree"/> could be walked to build 198Analysis.VisitNestedFunctions(analysis.ScopeTree, (scope, function) => 345Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 412Analysis.VisitNestedFunctions(_analysis.ScopeTree, (scope, nestedFunction) => 864Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Method.OriginalDefinition).SynthesizedLoweredMethod : node.Method; 883var function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, localFunc.OriginalDefinition); 1523Analysis.NestedFunction function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Symbol); 1537Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 1682lambdaScope != Analysis.GetScopeParent(_analysis.ScopeTree, node.Body).BoundNode &&