2 writes to ContainingEnvironmentOpt
Microsoft.CodeAnalysis.CSharp (2)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
159
function.
ContainingEnvironmentOpt
= env;
266
closure.
ContainingEnvironmentOpt
= null;
6 references to ContainingEnvironmentOpt
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
239
closure.
ContainingEnvironmentOpt
!= null;
264
if (closure.
ContainingEnvironmentOpt
== env)
Lowering\ClosureConversion\ClosureConversion.cs (4)
419
if (nestedFunction.
ContainingEnvironmentOpt
!= null)
421
containerAsFrame = nestedFunction.
ContainingEnvironmentOpt
.SynthesizedEnvironment;
1530
if (function.
ContainingEnvironmentOpt
!= null)
1536
if (scope.DeclaredEnvironment == function.
ContainingEnvironmentOpt
)