Boo.Lang.Compiler.TypeSystem.TypeSystemServices.CanBeExplicitlyCastToPrimitiveNumber C# (CSharp) Method

CanBeExplicitlyCastToPrimitiveNumber() public method

public CanBeExplicitlyCastToPrimitiveNumber ( IType type ) : bool
type IType
return bool
        public bool CanBeExplicitlyCastToPrimitiveNumber(IType type)
        {
            return type.IsEnum || type == CharType;
        }
TypeSystemServices