예제 #1
0
 // Token: 0x06001563 RID: 5475 RVA: 0x00066B28 File Offset: 0x00064D28
 private string vmethod_3935(Class_296 arg_0, object obje_0, Class_349 arg_1, out bool arg_2)
 {
     if (arg_1.field_5 == Class_448.Primitive)
     {
         Class_369 class_ = (Class_369)arg_1;
         if (class_.prop_0 == Class_496.DateTime || class_.prop_0 == Class_496.DateTimeNullable)
         {
             arg_2 = false;
             StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
             Class_502.WriteDateTimeString(stringWriter, (DateTime)obje_0, arg_0.prop_6, arg_0.prop_10, arg_0.prop_11);
             return(stringWriter.ToString());
         }
         if (class_.prop_0 == Class_496.DateTimeOffset || class_.prop_0 == Class_496.DateTimeOffsetNullable)
         {
             arg_2 = false;
             StringWriter stringWriter2 = new StringWriter(CultureInfo.InvariantCulture);
             Class_502.WriteDateTimeOffsetString(stringWriter2, (DateTimeOffset)obje_0, arg_0.prop_6, arg_0.prop_10, arg_0.prop_11);
             return(stringWriter2.ToString());
         }
         arg_2 = true;
         return(Convert.ToString(obje_0, CultureInfo.InvariantCulture));
     }
     else
     {
         string result;
         if (Class_467.gmethod_3913(obje_0, obje_0.GetType(), out result))
         {
             arg_2 = true;
             return(result);
         }
         arg_2 = true;
         return(obje_0.ToString());
     }
 }
예제 #2
0
 // Token: 0x06001545 RID: 5445 RVA: 0x000651AC File Offset: 0x000633AC
 private void vmethod_3905(Class_296 arg_0, object obje_0, Class_369 arg_1, Class_454 arg_2, Class_350 arg_3, Class_454 arg_4)
 {
     if (arg_1.prop_0 == Class_496.Bytes)
     {
         bool flag = this.gmethod_3933(Class_494.Objects, arg_1, arg_2, arg_3, arg_4);
         if (flag)
         {
             arg_0.kmethod_2007();
             this.xmethod_3921(arg_0, arg_1.prop_1);
             arg_0.cmethod_2014("$value", false);
             Class_296.pmethod_2079(arg_0, arg_1.prop_0, obje_0);
             arg_0.lmethod_2008();
             return;
         }
     }
     Class_296.pmethod_2079(arg_0, arg_1.prop_0, obje_0);
 }