示例#1
0
        public override object Clone()
        {
            AbstractTreeNode2 @class = (AbstractTreeNode2)base.Clone();

            @class.vmethod_9(this.vmethod_8());
            return(@class);
        }
示例#2
0
        public override void vmethod_14(Stream26 stream26_0)
        {
            if (this.vmethod_8())
            {
                byte[] array = new byte[4];
                array[1] = 1;
                array[2] = (byte)(this.vmethod_15() - 128);
                stream26_0.WriteByteArray(array, false);
            }
            else
            {
                byte[] array2 = new byte[4];
                array2[1] = this.vmethod_15();
                stream26_0.WriteByteArray(array2, false);
            }
            stream26_0.WriteInt(this.int_0);
            if (base.Nodes.Count != 0)
            {
                IEnumerator enumerator = base.Nodes.GetEnumerator();
                try
                {
                    while (enumerator.MoveNext())
                    {
                        AbstractTreeNode2 @class = (AbstractTreeNode2)enumerator.Current;
                        stream26_0.WriteByteArray(@class.vmethod_8());
                    }
                    goto IL_AA;
                }
                finally
                {
                    IDisposable disposable = enumerator as IDisposable;
                    if (disposable != null)
                    {
                        disposable.Dispose();
                    }
                }
            }
            stream26_0.WriteInt(0);
IL_AA:
            if (base.method_1().Nodes.IndexOf(this) < base.method_1().Nodes.Count - 1)
            {
                stream26_0.WriteInt((int)stream26_0.Position + 4);
                return;
            }
            stream26_0.WriteInt(0);
        }