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