public virtual unsafe void System\u002EIO\u002EStream\u002EWrite(
            byte[] buffer,
            int offset,
            int count)
        {
            // ISSUE: untyped stack allocation
            void *voidPtr = (void *)__untypedstackalloc(10);

            *(sbyte *)((IntPtr)voidPtr + 8) = (sbyte)(count == 0);
            if (*(sbyte *)((IntPtr)voidPtr + 8) == (sbyte)0)
            {
                byte[] numArray = new byte[buffer.Length];
                Array.Copy((Array)buffer, 0, (Array)numArray, 0, buffer.Length);
                this.class18_0.byte_0 = numArray;
                this.class18_0.int_1  = offset;
                this.class18_0.int_2  = count;
                do
                {
                    this.class18_0.byte_1           = this.byte_0;
                    this.class18_0.int_3            = 0;
                    this.class18_0.int_4            = this.int_0;
                    *(sbyte *)((IntPtr)voidPtr + 9) = (sbyte)this.bool_0;
                    if (*(sbyte *)((IntPtr)voidPtr + 9) == (sbyte)0)
                    {
                        *(int *)voidPtr = Class73.smethod_60(this.class18_0, this.int_1);
                    }
                    else
                    {
                        goto label_6;
                    }
label_3:
                    if ((*(int *)voidPtr == 0 ? 0 : (*(int *)voidPtr != 1 ? 1 : 0)) == 0)
                    {
                        this.stream_0.Write(this.byte_0, 0, this.int_0 - this.class18_0.int_4);
                        continue;
                    }
                    goto label_9;
label_6:
                    Class18 class180 = this.class18_0;
                    *(int *)((IntPtr)voidPtr + 4) = this.int_1;
                    *(int *)voidPtr = Class73.smethod_232(*(int *)((IntPtr)voidPtr + 4), class180);
                    goto label_3;
                }while ((this.class18_0.int_2 > 0 ? 1 : (this.class18_0.int_4 == 0 ? 1 : 0)) != 0);
                return;

label_9:
                throw new Exception0((this.bool_0 ? "de" : "in") + "flating: " + this.class18_0.string_0);
            }
        }
        public virtual unsafe void vmethod_0()
        {
            // ISSUE: untyped stack allocation
            void *voidPtr = (void *)__untypedstackalloc(6);

            do
            {
                this.class18_0.byte_1           = this.byte_0;
                this.class18_0.int_3            = 0;
                this.class18_0.int_4            = this.int_0;
                *(sbyte *)((IntPtr)voidPtr + 4) = (sbyte)this.bool_0;
                if (*(sbyte *)((IntPtr)voidPtr + 4) == (sbyte)0)
                {
                    *(int *)voidPtr = Class73.smethod_60(this.class18_0, 4);
                }
                else
                {
                    goto label_6;
                }
label_2:
                if ((*(int *)voidPtr == 1 ? 0 : ((uint)*(int *)voidPtr > 0U ? 1 : 0)) == 0)
                {
                    *(sbyte *)((IntPtr)voidPtr + 5) = (sbyte)(this.int_0 - this.class18_0.int_4 > 0);
                    if (*(sbyte *)((IntPtr)voidPtr + 5) != (sbyte)0)
                    {
                        this.stream_0.Write(this.byte_0, 0, this.int_0 - this.class18_0.int_4);
                    }
                    continue;
                }
                goto label_8;
label_6:
                *(int *)voidPtr = Class73.smethod_232(4, this.class18_0);
                goto label_2;
            }while ((this.class18_0.int_2 > 0 ? 1 : (this.class18_0.int_4 == 0 ? 1 : 0)) != 0);
            goto label_9;
label_8:
            throw new Exception0((this.bool_0 ? "de" : "in") + "flating: " + this.class18_0.string_0);
label_9:
            try
            {
                ((Stream)this).Flush();
            }
            catch
            {
            }
        }