2 writes to DeclaredEnvironment
Microsoft.CodeAnalysis.CSharp (2)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
273
ScopeTree.
DeclaredEnvironment
= null;
343
scope.
DeclaredEnvironment
= env;
9 references to DeclaredEnvironment
Microsoft.CodeAnalysis.CSharp (9)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (7)
156
var env = curScope.
DeclaredEnvironment
;
166
var oldEnv = curScope?.
DeclaredEnvironment
;
175
var env = curScope.
DeclaredEnvironment
;
217
var env = ScopeTree.
DeclaredEnvironment
;
342
Debug.Assert(scope.
DeclaredEnvironment
is null);
371
if (!(scope.
DeclaredEnvironment
is null))
374
environmentsToScopes[scope.
DeclaredEnvironment
] = scope;
Lowering\ClosureConversion\ClosureConversion.cs (2)
342
if (scope.
DeclaredEnvironment
is { } env)
1536
if (scope.
DeclaredEnvironment
== function.ContainingEnvironmentOpt)