示例#1
0
    private void method_20(Class1132 A_0, string A_1)
    {
        int num = 9;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䤮䈰", num));
        }
        this.class1132_0 = A_0;
        BinaryReader reader = new BinaryReader(this.class1132_0.method_0().method_5(BookmarkStart.b("砮帰䄲儴猶嘸堺䠼刾⑀ⵂㅄ", num)), Class813.smethod_0(true));

        this.class703_0 = new Class703(reader);
        if (this.class703_0.method_1())
        {
            throw new NotSupportedException(BookmarkStart.b("笮夰娲䘴᜶崸吺帼䨾ⱀ♂⭄㍆楈≊㹌潎㽐㱒⅔睖⩘⹚ⵜ⽞๠ᅢᅤɦ൨䕪", num));
        }
        if (this.class703_0.bool_4)
        {
            if (A_1 == null)
            {
                throw new PasswordErrorException(BookmarkStart.b("欮帰倲䀴娶尸唺䤼Ἶ⡀あ敄≆❈⡊㽌㙎⅐❒ご㍖畘筚ቜ⽞Ѡൢ䕤፦Ũ๪䵬Ὦၰrٴvᙸॺ᥼彾愈ꮊﶌレ뎜", num));
            }
            new Class987().method_1(this.class1132_0, this.class703_0, A_1);
        }
        Stream input = this.class1132_0.method_0().method_5(BookmarkStart.b("砮帰䄲儴猶嘸堺䠼刾⑀ⵂㅄ", num));

        this.binaryReader_0 = new BinaryReader(input, Class813.smethod_0(true));
        this.binaryReader_1 = new BinaryReader(input, Class813.smethod_0(false));
        this.class703_0.method_3(this.binaryReader_0);
        Stream stream2 = this.class1132_0.method_0().method_5(this.class703_0.method_0());

        this.binaryReader_2 = new BinaryReader(stream2, Encoding.Unicode);
        Stream stream3 = this.class1132_0.method_0().method_4(BookmarkStart.b("欮倰䜲吴", num));

        this.binaryReader_3 = (stream3 != null) ? new BinaryReader(stream3, Encoding.Unicode) : null;
        this.class770_0     = new Class770(this.method_5(), this.method_3());
        this.class160_0     = new Class160(this.method_5(), this.method_1(), this.method_3());
        this.method_26();
        this.method_27();
        this.class598_0  = new Class598(this.method_5(), this.method_3());
        this.class165_0  = new Class165(this.method_5(), this.method_3(), this.class160_0.method_4());
        this.class348_0  = new Class348(SubDocumentType.Main, this.method_5(), this.method_3());
        this.class348_1  = new Class348(SubDocumentType.Header, this.method_5(), this.method_3());
        this.class996_0  = new Class996(this.method_5(), this.method_3());
        this.class700_0  = new Class700(FootnoteType.Footnote, this.method_5(), this.method_3());
        this.class700_1  = new Class700(FootnoteType.Endnote, this.method_5(), this.method_3());
        this.class1065_0 = new Class1065(this.method_5(), this.method_3());
        this.class168_0  = new Class168(this.method_5(), this.method_3());
        this.class349_0  = new Class349(this.method_5(), this.method_3());
        this.class986_0  = new Class986(this.method_5(), this.method_3());
        this.method_21();
    }
 public abstract void Visit(Class165 c);
 public override void Visit(Class165 c) { }
示例#4
0
    // Token: 0x060004E5 RID: 1253 RVA: 0x00028164 File Offset: 0x00026364
    public static Class139 smethod_1(object object_0, Type type_0)
    {
        Class139 @class = object_0 as Class139;

        if (@class != null)
        {
            return(@class);
        }
        if (type_0 == null)
        {
            if (object_0 == null)
            {
                return(new Class166());
            }
            type_0 = object_0.GetType();
        }
        type_0 = Class102.smethod_1(type_0);
        if (type_0 == Class28.type_0)
        {
            @class = new Class166();
            if (object_0 != null && object_0.GetType() != Class28.type_0)
            {
                @class.method_1(object_0.GetType());
            }
        }
        else if (Class99.smethod_0 <Array>(type_0))
        {
            @class = new Class140();
        }
        else if (Class99.smethod_0 <string>(type_0))
        {
            @class = new Class143();
        }
        else if (Class99.smethod_0 <IntPtr>(type_0))
        {
            @class = new Class146();
        }
        else if (Class99.smethod_0 <UIntPtr>(type_0))
        {
            @class = new Class157();
        }
        else if (Class99.smethod_0 <ulong>(type_0))
        {
            @class = new Class165();
        }
        else if (Class99.smethod_0 <uint>(type_0))
        {
            @class = new Class163();
        }
        else if (Class99.smethod_0 <ushort>(type_0))
        {
            @class = new Class159();
        }
        else if (Class99.smethod_0 <long>(type_0))
        {
            @class = new Class156();
        }
        else if (Class99.smethod_0 <int>(type_0))
        {
            @class = new Class145();
        }
        else if (Class99.smethod_0 <short>(type_0))
        {
            @class = new Class141();
        }
        else if (Class99.smethod_0 <byte>(type_0))
        {
            @class = new Class164();
        }
        else if (Class99.smethod_0 <sbyte>(type_0))
        {
            @class = new Class161();
        }
        else if (Class99.smethod_0 <double>(type_0))
        {
            @class = new Class158();
        }
        else if (Class99.smethod_0 <float>(type_0))
        {
            @class = new Class162();
        }
        else if (Class99.smethod_0 <bool>(type_0))
        {
            @class = new Class144();
        }
        else if (Class99.smethod_0 <char>(type_0))
        {
            @class = new Class155();
        }
        else if (Class28.smethod_0(type_0))
        {
            Class166 class2 = new Class166();
            class2.method_1(type_0);
            @class = class2;
        }
        else
        {
            if (Class99.smethod_0 <Enum>(type_0))
            {
                Enum enum_;
                if (object_0 == null)
                {
                    if (type_0 == Class28.type_2)
                    {
                        enum_ = null;
                    }
                    else
                    {
                        enum_ = (Enum)Activator.CreateInstance(type_0);
                    }
                }
                else if (type_0 == Class28.type_2 && object_0 is Enum)
                {
                    enum_ = (Enum)object_0;
                }
                else
                {
                    enum_ = (Enum)Enum.ToObject(type_0, object_0);
                }
                return(new Class160(enum_));
            }
            if (Class99.smethod_0 <ValueType>(type_0))
            {
                if (object_0 == null)
                {
                    object object_;
                    if (type_0 == Class28.type_3)
                    {
                        object_ = null;
                    }
                    else
                    {
                        object_ = Activator.CreateInstance(type_0);
                    }
                    @class = new Class154(object_);
                }
                else
                {
                    if (object_0.GetType() != type_0)
                    {
                        try
                        {
                            object_0 = Convert.ChangeType(object_0, type_0);
                        }
                        catch
                        {
                        }
                    }
                    @class = new Class154(object_0);
                }
                return(@class);
            }
            @class = new Class166();
        }
        if (object_0 != null)
        {
            @class.vmethod_1(object_0);
        }
        return(@class);
    }