5 references to AllowedToTakeRef
Microsoft.CodeAnalysis.VisualBasic (5)
CodeGen\EmitAddress.vb (3)
46
Dim allowedToTakeReference As Boolean =
AllowedToTakeRef
(expression, addressKind)
302
Return boundSequenceValue IsNot Nothing AndAlso Me.
AllowedToTakeRef
(boundSequenceValue, addressKind)
389
If fieldReceiver IsNot Nothing AndAlso Not
AllowedToTakeRef
(fieldReceiver, CodeGenerator.AddressKind.ReadOnly) Then
CodeGen\EmitExpression.vb (2)
1187
Not
AllowedToTakeRef
(receiver, AddressKind.ReadOnly) OrElse
1833
Return
AllowedToTakeRef
(left, AddressKind.Writeable) AndAlso Not (left.Kind = BoundKind.ArrayAccess AndAlso left.Type.TypeKind = TypeKind.TypeParameter)