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