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