public static bool IsNumericPromotion(Type paramType, Type argType) { return RuntimeServices.IsPromotableNumeric(Type.GetTypeCode(paramType)) && RuntimeServices.IsPromotableNumeric(Type.GetTypeCode(argType)); }