public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
 {
     if (value == null)
     {
         writer.WriteNull();
     }
     else
     {
         Enum   enum2 = (Enum)value;
         string str   = enum2.ToString("G");
         if (!char.IsNumber(str[0]) && (str[0] != '-'))
         {
             Class179 <string, string> class2 = this.method_0(enum2.GetType());
             string[] strArray = str.Split(new char[] { ',' });
             for (int i = 0; i < strArray.Length; i++)
             {
                 string str3;
                 string str2 = strArray[i].Trim();
                 class2.method_1(str2, out str3);
                 str3 = str3 ?? str2;
                 if (this.CamelCaseText)
                 {
                     str3 = Class198.smethod_10(str3);
                 }
                 strArray[i] = str3;
             }
             string str4 = string.Join(", ", strArray);
             writer.WriteValue(str4);
         }
         else
         {
             writer.WriteValue(value);
         }
     }
 }
 protected internal override string ResolvePropertyName(string propertyName)
 {
     return(Class198.smethod_10(propertyName));
 }