1 write to CapturedVariables
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
189CapturedVariables = new SetWithInsertionOrder<Symbol>();
8 references to CapturedVariables
Microsoft.CodeAnalysis.CSharp (8)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (4)
226if (env.CapturedVariables.Count > 1 || 227!env.CapturedVariables.Contains(thisParam)) 349if (thisParam != null && env.CapturedVariables.Contains(thisParam)) 541? environment.CapturedVariables.SelectAsArray(v => v is ThisParameterSymbol ? GeneratedNames.ThisProxyFieldName() : v.Name)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (2)
192CapturedVariables.Add(item); 212return $"{depth}: captures [{string.Join(", ", CapturedVariables.Select(v => v.Name))}]";
Lowering\ClosureConversion\ClosureConversion.cs (2)
388foreach (var captured in env.CapturedVariables) 711foreach (var variable in env.CapturedVariables)