System\Linq\Expressions\BinaryExpression.cs (20)
346TypeUtils.AreEquivalent(method.ReturnType, left.GetNonNullableType());
613Type nnLeftType = left.Type.GetNonNullableType();
614Type nnRightType = right.Type.GetNonNullableType();
646ParameterIsAssignable(pms[0], left.Type.GetNonNullableType()) &&
647ParameterIsAssignable(pms[1], right.Type.GetNonNullableType()) &&
722Type nnLeftType = leftType.GetNonNullableType();
723Type nnRightType = rightType.GetNonNullableType();
807if (!(left.IsNullableType() && ParameterIsAssignable(pms[0], left.GetNonNullableType())))
812if (!(right.IsNullableType() && ParameterIsAssignable(pms[1], right.GetNonNullableType())))
825left = left.GetNonNullableType();
851if (!(left.IsNullableType() && ParameterIsAssignable(pmsOpTrue[0], left.GetNonNullableType())))
860TypeUtils.AreEquivalent(pms[1].ParameterType, right.GetNonNullableType());
1057left.Type.GetNonNullableType().IsEnum))
1288returnType = (left.Type.IsNullableType() && TypeUtils.AreEquivalent(method.ReturnType, left.Type.GetNonNullableType())) ? left.Type : method.ReturnType;
1294returnType = (left.Type.IsNullableType() && TypeUtils.AreEquivalent(method.ReturnType, left.Type.GetNonNullableType())) ? left.Type : method.ReturnType;
1341returnType = (left.Type.IsNullableType() && method.ReturnType == left.Type.GetNonNullableType()) ? left.Type : method.ReturnType;
1347returnType = (left.Type.IsNullableType() && method.ReturnType == left.Type.GetNonNullableType()) ? left.Type : method.ReturnType;
1415if (!ParameterIsAssignable(pms[0], left.Type.GetNonNullableType()) &&
1425Type leftStripped = left.GetNonNullableType();
2233&& right.GetNonNullableType() == typeof(int);