Boo.Lang.Runtime.RuntimeServices.CheckNumericPromotion C# (CSharp) Method

CheckNumericPromotion() public static method

public static CheckNumericPromotion ( IConvertible convertible ) : IConvertible
convertible IConvertible
return IConvertible
        public static IConvertible CheckNumericPromotion(IConvertible convertible)
        {
            if (IsPromotableNumeric(convertible.GetTypeCode()))
                return convertible;
            throw new InvalidCastException();
        }

Same methods

RuntimeServices::CheckNumericPromotion ( object value ) : IConvertible
RuntimeServices