Boo.Lang.Compiler.TypeSystem.TypeSystemServices.IsLiteralPrimitive C# (CSharp) 메소드

IsLiteralPrimitive() 공개 메소드

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