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