Example #1
0
        SerializableType CompileEnumType(Type type)
        {
            SerializableType underlyingType = GetType(Enum.GetUnderlyingType(type));

            return(SerializableType.CreateEnumType(type, underlyingType));
        }