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