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