11 references to Constrained
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\EmitAddress.cs (4)
261EmitReceiverRef(expression.ValueTypeReceiver, AddressKind.Constrained); 424if (addressKind == AddressKind.Constrained) 543return receiverType.TypeKind == TypeKind.TypeParameter && addressKind != AddressKind.Constrained; 561(addressKind == AddressKind.Constrained ? AddressKind.Writeable : addressKind) :
CodeGen\EmitExpression.cs (5)
450receiverTemp = EmitReceiverRef(receiver, AddressKind.Constrained); 574receiverTemp = EmitReceiverRef(receiver, AddressKind.Constrained); 1763Debug.Assert(addressKind.GetValueOrDefault() != AddressKind.Constrained); 1950addressKind = (callKind == CallKind.ConstrainedCallVirt) ? AddressKind.Constrained : AddressKind.Writeable; 1953Debug.Assert((callKind != CallKind.ConstrainedCallVirt) || (addressKind.GetValueOrDefault() == AddressKind.Constrained) || receiverType.IsVerifierValue());
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
724CodeGenerator.AddressKind.Constrained,
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
318CodeGenerator.AddressKind.Constrained,