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