Boo.Lang.Runtime.CandidateMethod.IsNumericPromotion C# (CSharp) Method

IsNumericPromotion() public static method

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