19 references to ParameterIsAssignable
System.Core (19)
Microsoft\Scripting\Ast\BinaryExpression.cs (12)
620
if (
ParameterIsAssignable
(pms[0], left.Type) &&
ParameterIsAssignable
(pms[1], right.Type)) {
628
ParameterIsAssignable
(pms[0], TypeUtils.GetNonNullableType(left.Type)) &&
629
ParameterIsAssignable
(pms[1], TypeUtils.GetNonNullableType(right.Type)) &&
774
if (!
ParameterIsAssignable
(pms[0], left)) {
775
if (!(TypeUtils.IsNullableType(left) &&
ParameterIsAssignable
(pms[0], TypeUtils.GetNonNullableType(left))))
778
if (!
ParameterIsAssignable
(pms[1], right)) {
779
if (!(TypeUtils.IsNullableType(right) &&
ParameterIsAssignable
(pms[1], TypeUtils.GetNonNullableType(right))))
807
if (!
ParameterIsAssignable
(pmsOpTrue[0], left)) {
808
if (!(TypeUtils.IsNullableType(left) &&
ParameterIsAssignable
(pmsOpTrue[0], TypeUtils.GetNonNullableType(left))))
1358
if (!
ParameterIsAssignable
(pms[0], TypeUtils.GetNonNullableType(left.Type)) &&
1359
!
ParameterIsAssignable
(pms[0], left.Type)) {
Microsoft\Scripting\Ast\SwitchExpression.cs (3)
221
if (!
ParameterIsAssignable
(leftParam, switchValue.Type)) {
222
liftedCall =
ParameterIsAssignable
(leftParam, switchValue.Type.GetNonNullableType());
242
if (!
ParameterIsAssignable
(rightParam, rightOperandType)) {
Microsoft\Scripting\Ast\UnaryExpression.cs (4)
399
if (
ParameterIsAssignable
(pms[0], operand.Type)) {
405
ParameterIsAssignable
(pms[0], TypeUtils.GetNonNullableType(operand.Type)) &&
437
if (
ParameterIsAssignable
(pms[0], operand.Type) && TypeUtils.AreEquivalent(method.ReturnType, convertToType)) {
442
ParameterIsAssignable
(pms[0], TypeUtils.GetNonNullableType(operand.Type)) &&