4 references to IsCaptured
Microsoft.CodeAnalysis.CSharp (4)
FlowAnalysis\DefiniteAssignment.cs (1)
710
Symbol.
IsCaptured
(rangeVariableUnderlyingParameter ?? variable, sourceMethod))
FlowAnalysis\NullableWalker.cs (2)
3173
if (Symbol.
IsCaptured
(variables[slot].Symbol, localFunc))
3193
if (Symbol.
IsCaptured
(symbol, localFunc))
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
210
if (_staticLocalOrAnonymousFunction is object && Symbol.
IsCaptured
(symbol, _staticLocalOrAnonymousFunction))