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