Boo.Lang.Compiler.TypeSystem.CallableResolutionService.IsWideningPromotion C# (CSharp) Method

IsWideningPromotion() private method

private IsWideningPromotion ( IType paramType, IType argumentType ) : bool
paramType IType
argumentType IType
return bool
        private bool IsWideningPromotion(IType paramType, IType argumentType)
        {
            ExternalType expected = paramType as ExternalType;
            if (null == expected) return false;
            ExternalType actual = argumentType as ExternalType;
            if (null == actual) return false;
            return Boo.Lang.Runtime.NumericTypes.IsWideningPromotion(expected.ActualType, actual.ActualType);
        }