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