19 references to ParameterIsAssignable
System.Linq.Expressions (19)
System\Linq\Expressions\BinaryExpression.cs (12)
638
if (
ParameterIsAssignable
(pms[0], left.Type) &&
ParameterIsAssignable
(pms[1], right.Type))
646
ParameterIsAssignable
(pms[0], left.Type.GetNonNullableType()) &&
647
ParameterIsAssignable
(pms[1], right.Type.GetNonNullableType()) &&
805
if (!
ParameterIsAssignable
(pms[0], left))
807
if (!(left.IsNullableType() &&
ParameterIsAssignable
(pms[0], left.GetNonNullableType())))
810
if (!
ParameterIsAssignable
(pms[1], right))
812
if (!(right.IsNullableType() &&
ParameterIsAssignable
(pms[1], right.GetNonNullableType())))
849
if (!
ParameterIsAssignable
(pmsOpTrue[0], left))
851
if (!(left.IsNullableType() &&
ParameterIsAssignable
(pmsOpTrue[0], left.GetNonNullableType())))
1415
if (!
ParameterIsAssignable
(pms[0], left.Type.GetNonNullableType()) &&
1416
!
ParameterIsAssignable
(pms[0], left.Type))
System\Linq\Expressions\SwitchExpression.cs (3)
209
if (!
ParameterIsAssignable
(leftParam, switchValue.Type))
211
liftedCall =
ParameterIsAssignable
(leftParam, switchValue.Type.GetNonNullableType());
236
if (!
ParameterIsAssignable
(rightParam, rightOperandType))
System\Linq\Expressions\UnaryExpression.cs (4)
387
if (
ParameterIsAssignable
(pms[0], operand.Type))
394
ParameterIsAssignable
(pms[0], operand.Type.GetNonNullableType()) &&
435
if (
ParameterIsAssignable
(pms[0], operand.Type) && TypeUtils.AreEquivalent(method.ReturnType, convertToType))
441
ParameterIsAssignable
(pms[0], operand.Type.GetNonNullableType()) &&