11 references to Constrained
Microsoft.CodeAnalysis.CSharp (11)
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); 1738Debug.Assert(addressKind.GetValueOrDefault() != AddressKind.Constrained); 1921addressKind = (callKind == CallKind.ConstrainedCallVirt) ? AddressKind.Constrained : AddressKind.Writeable; 1924Debug.Assert((callKind != CallKind.ConstrainedCallVirt) || (addressKind.GetValueOrDefault() == AddressKind.Constrained) || receiverType.IsVerifierValue());
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
700CodeGenerator.AddressKind.Constrained,
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
301CodeGenerator.AddressKind.Constrained,