15 references to ReadOnly
Microsoft.CodeAnalysis.VisualBasic (15)
CodeGen\EmitAddress.vb (4)
293
Return addressKind = AddressKind.
ReadOnly
OrElse addressKind = AddressKind.Immutable
389
If fieldReceiver IsNot Nothing AndAlso Not AllowedToTakeRef(fieldReceiver, CodeGenerator.AddressKind.
ReadOnly
) Then
480
Return EmitAddress(receiver, AddressKind.
ReadOnly
)
505
addressKind = AddressKind.
ReadOnly
CodeGen\EmitExpression.vb (10)
302
receiverTemp = EmitReceiverRef(receiver, isAccessConstrained:=Not receiverType.IsReferenceType, addressKind:=AddressKind.
ReadOnly
)
385
receiverTemp = EmitReceiverRef(receiver, isAccessConstrained:=Not receiverType.IsReferenceType, addressKind:=AddressKind.
ReadOnly
)
415
Dim receiverTemp = EmitAddress(expression.ReferenceTypeReceiver, addressKind:=AddressKind.
ReadOnly
)
421
EmitReceiverRef(expression.ValueTypeReceiver, isAccessConstrained:=True, addressKind:=AddressKind.
ReadOnly
)
993
tempOpt = EmitReceiverRef(receiver, isAccessConstrained:=False, addressKind:=AddressKind.
ReadOnly
)
1023
AddressKind.
ReadOnly
,
1032
tempOpt = EmitReceiverRef(receiver, isAccessConstrained:=True, addressKind:=AddressKind.
ReadOnly
)
1187
Not AllowedToTakeRef(receiver, AddressKind.
ReadOnly
) OrElse
1193
Dim tempOpt As LocalDefinition = EmitReceiverRef(receiver, isAccessConstrained:=callKind = CallKind.ConstrainedCallVirt, addressKind:=AddressKind.
ReadOnly
)
1911
Dim temp = EmitReceiverRef(left.ReceiverOpt, isAccessConstrained:=False, addressKind:=AddressKind.
ReadOnly
)
CodeGen\EmitStatement.vb (1)
369
Dim temp1 = EmitReceiverRef(receiver, isAccessConstrained:=False, addressKind:=AddressKind.
[ReadOnly]
)