Ejemplo n.º 1
0
    // Token: 0x0600052C RID: 1324 RVA: 0x0002C3AC File Offset: 0x0002A5AC
    public string method_1()
    {
        string text;

        if (this.method_0(out text))
        {
            return(text);
        }
        object obj = Struct42.object_0;

        lock (obj)
        {
            if (this.method_0(out text))
            {
                return(text);
            }
            Class184 class184_ = this.class58_0.class12_0.class184_0;
            object   obj2      = class184_.object_0;
            byte[]   byte_;
            bool     bool_;
            lock (obj2)
            {
                byte_ = class184_.byte_0;
                bool_ = class184_.bool_0;
                if (class184_.bool_1)
                {
                    if (byte_ == null)
                    {
                        throw new Exception(Class185.smethod_0(537694803));
                    }
                }
                else
                {
                    WeakReference weakReference_ = this.class58_0.class12_0.weakReference_1;
                    string        text2          = ((weakReference_ != null) ? weakReference_.Target : null) as string;
                    if (text2 == null)
                    {
                        throw new Exception(Class185.smethod_0(537694608));
                    }
                    text = string.Copy(text2);
                    Class125.smethod_3(text2);
                }
                class184_.bool_1 = true;
            }
            if (text == null)
            {
                text = Class125.smethod_2(byte_, bool_);
            }
            this.method_2(text);
        }
        return(text);
    }
Ejemplo n.º 2
0
 // Token: 0x06000338 RID: 824 RVA: 0x0001E648 File Offset: 0x0001C848
 protected override void Finalize()
 {
     try
     {
         object object_ = this.class184_0.object_0;
         lock (object_)
         {
             if (!this.class184_0.bool_1)
             {
                 this.class184_0.byte_0 = Class125.smethod_1(this.string_0);
                 this.class184_0.bool_1 = true;
                 Class125.smethod_3(this.string_0);
             }
         }
     }
     finally
     {
         base.Finalize();
     }
 }