11 references to IsRef
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\Constructors.cs (1)
76return !(localSymbol.IsWritableVariable || localSymbol.IsRef);
FlowAnalysis\NullableWalker.cs (2)
3495if (local.IsRef) 11103if (iterationVariable.IsRef)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
786if (receiverTemp.LocalSymbol.IsRef &&
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
209receiverTemp.LocalSymbol.IsRef &&
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
508if (receiverLocal.LocalSymbol.IsRef && 811if (receiverLocal.LocalSymbol.IsRef &&
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
66localSymbol.IsRef),
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
146if (unwrappedRight is { ConstantValueOpt: not null } or BoundLocal { LocalSymbol.IsRef: false } or BoundParameter { ParameterSymbol.RefKind: RefKind.None } &&
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
143LocalSymbol { IsConst: false, IsPinned: false, IsRef: false } local =>
Symbols\PublicModel\LocalSymbol.cs (1)
50bool ILocalSymbol.IsRef => _underlying.IsRef;