10 references to Constrained
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitAddress.cs (4)
257EmitReceiverRef(expression.ValueTypeReceiver, AddressKind.Constrained); 420if (addressKind == AddressKind.Constrained) 539return receiverType.TypeKind == TypeKind.TypeParameter && addressKind != AddressKind.Constrained; 557(addressKind == AddressKind.Constrained ? AddressKind.Writeable : addressKind) :
CodeGen\EmitExpression.cs (5)
453receiverTemp = EmitReceiverRef(receiver, AddressKind.Constrained); 577receiverTemp = EmitReceiverRef(receiver, AddressKind.Constrained); 1730Debug.Assert(addressKind.GetValueOrDefault() != AddressKind.Constrained); 1905addressKind = (callKind == CallKind.ConstrainedCallVirt) ? AddressKind.Constrained : AddressKind.Writeable; 1908Debug.Assert((callKind != CallKind.ConstrainedCallVirt) || (addressKind.GetValueOrDefault() == AddressKind.Constrained) || receiverType.IsVerifierValue());
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
706Binder.AddressKind.Constrained,