Esempio n. 1
0
        private void method_21(JsonWriter jsonWriter_0, Type type_0)
        {
            string str = Class194.smethod_4(type_0, base.jsonSerializer_0.formatterAssemblyStyle_0, base.jsonSerializer_0.serializationBinder_0);

            if ((base.itraceWriter_0 != null) && (base.itraceWriter_0.LevelFilter >= TraceLevel.Verbose))
            {
                base.itraceWriter_0.Trace(TraceLevel.Verbose, Struct25.smethod_2(null, jsonWriter_0.Path, "Writing type name '{0}' for {1}.".smethod_1(CultureInfo.InvariantCulture, str, type_0)), null);
            }
            jsonWriter_0.WritePropertyName("$type", false);
            jsonWriter_0.WriteValue(str);
        }