6 references to CapturedVariables
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
330
(closure.
CapturedVariables
.Overlaps(scope.DeclaredVariables) ||
331
closure.
CapturedVariables
.Overlaps(closures.Select(c => c.OriginalMethodSymbol))))
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (3)
117
/// <see cref="OriginalMethodSymbol"/> and <see cref="
CapturedVariables
"/>.
169
CapturedVariables
.Free();
643
function.
CapturedVariables
.Add(symbol);
Lowering\ClosureConversion\ClosureConversion.cs (1)
195
allCapturedVars.UnionWith(function.
CapturedVariables
);