Boo.Lang.Compiler.TypeSystem.TypeSystemServices.CanBeExplicitlyCastToPrimitiveNumber C# (CSharp) Метод

CanBeExplicitlyCastToPrimitiveNumber() публичный Метод

public CanBeExplicitlyCastToPrimitiveNumber ( IType type ) : bool
type IType
Результат bool
        public bool CanBeExplicitlyCastToPrimitiveNumber(IType type)
        {
            return type.IsEnum || type == CharType;
        }
TypeSystemServices