1 write to ScopeTree
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
61ScopeTree = scopeTree;
18 references to ScopeTree
Microsoft.CodeAnalysis.CSharp (18)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (9)
146VisitNestedFunctions(ScopeTree, (scope, function) => 218var env = ScopeTree.DeclaredEnvironment; 237bool cantRemove = CheckNestedFunctions(ScopeTree, (scope, closure) => 263VisitNestedFunctions(ScopeTree, (scope, closure) => 274ScopeTree.DeclaredEnvironment = null; 275VisitNestedFunctions(ScopeTree, (scope, nested) => 288VisitScopeTree(ScopeTree, scope => 370VisitScopeTree(ScopeTree, scope => 699ScopeTree.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 &&