Exemple #1
0
        // Token: 0x06001507 RID: 5383 RVA: 0x00061514 File Offset: 0x0005F714
        protected bool smethod_3850(object obje_0, Class_349 arg_0, object obje_1, Class_353 arg_1, string str_0, Exception arg_2)
        {
            Class_446 class_ = this.lmethod_3848(obje_0, obje_1, str_0, arg_2);

            if (this.field_4 != null && this.field_4.prop_0 >= TraceLevel.Error && !class_.prop_0)
            {
                class_.prop_0 = true;
                string text = this.field_2 ? "Error serializing" : "Error deserializing";
                if (arg_0 != null)
                {
                    text = text + " " + arg_0.prop_0;
                }
                text = text + ". " + arg_2.Message;
                if (!(arg_2 is Class_318))
                {
                    text = Class_326.FormatMessage(arg_1, str_0, text);
                }
                this.field_4.gmethod_2303(TraceLevel.Error, text, arg_2);
            }
            if (arg_0 != null && obje_0 != null)
            {
                arg_0.kmethod_2347(obje_0, this.field_3.prop_15, class_);
            }
            if (!class_.prop_5)
            {
                this.field_3.tmethod_3182(new Class_371(obje_0, class_));
            }
            return(class_.prop_5);
        }
 // Token: 0x06000D33 RID: 3379 RVA: 0x00048034 File Offset: 0x00046234
 public void nmethod_3(object obje_0, StreamingContext arg_0, Class_446 arg_1)
 {
     this.field_1.Invoke(obje_0, new object[]
     {
         arg_0,
         arg_1
     });
 }
 // Token: 0x06000D2D RID: 3373 RVA: 0x00047F54 File Offset: 0x00046154
 internal void kmethod_2347(object obje_0, StreamingContext arg_0, Class_446 arg_1)
 {
     if (this.field_13 != null)
     {
         foreach (Class_450 class_ in this.field_13)
         {
             class_(obje_0, arg_0, arg_1);
         }
     }
 }
 // Token: 0x06000ECA RID: 3786 RVA: 0x0004D90A File Offset: 0x0004BB0A
 public Class_371(object obje_0, Class_446 arg_0)
 {
     this.prop_0 = obje_0;
     this.prop_1 = arg_0;
 }