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

IsLiteralPrimitive() public method

public IsLiteralPrimitive ( IType type ) : bool
type IType
return bool
        public bool IsLiteralPrimitive(IType type)
        {
            var typ = type as ExternalType;
            return typ != null
                   && typ.PrimitiveName != null
                   && _literalPrimitives.Contains(typ.PrimitiveName);
        }
TypeSystemServices