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