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 193Analysis.VisitNestedFunctions(analysis.ScopeTree, (scope, function) => 340Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 407Analysis.VisitNestedFunctions(_analysis.ScopeTree, (scope, nestedFunction) => 859Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Method.OriginalDefinition).SynthesizedLoweredMethod : node.Method; 878var function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, localFunc.OriginalDefinition); 1520Analysis.NestedFunction function = Analysis.GetNestedFunctionInTree(_analysis.ScopeTree, node.Symbol); 1534Analysis.VisitScopeTree(_analysis.ScopeTree, scope => 1679lambdaScope != Analysis.GetScopeParent(_analysis.ScopeTree, node.Body).BoundNode &&