10 references to Constrained
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitAddress.cs (4)
255EmitReceiverRef(expression.ValueTypeReceiver, AddressKind.Constrained); 418if (addressKind == AddressKind.Constrained) 537return receiverType.TypeKind == TypeKind.TypeParameter && addressKind != AddressKind.Constrained; 555(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)
705CodeGenerator.AddressKind.Constrained,