Пример #1
0
    public void method_9(string A_0, Struct30 A_1)
    {
        Struct28 struct2;

        struct2 = new Struct28 {
            string_0 = A_0,
            int_1    = this.method_4().Length,
            int_0    = struct2.int_1 + A_0.Length
        };
        this.list_0.Add(struct2);
        this.list_2.Add(A_1);
    }
Пример #2
0
        private static Func <object, object> smethod_5(Struct30 struct30_0)
        {
            Class182   class2 = new Class182();
            MethodInfo method = struct30_0.Type_1.GetMethod("op_Implicit", new Type[] { struct30_0.Type_0 });

            if (method == null)
            {
                method = struct30_0.Type_1.GetMethod("op_Explicit", new Type[] { struct30_0.Type_0 });
            }
            if (method == null)
            {
                return(null);
            }
            class2.delegate3_0 = Class139.Class166_0.ns20.Class166.‫‌‪‭‭‪‌‎‮‬​‌‌‬‎‮‌‏‌‎‪‌‏‬‫‭‮ <object>(method);
            return(new Func <object, object>(class2.method_0));
        }
Пример #3
0
    internal Struct29 method_11(Struct28 A_0, Class883 A_1)
    {
        if (A_0.method_0())
        {
            return(new Struct29());
        }
        Struct29 struct3 = new Struct29();
        Struct28 struct4 = A_0.method_1();
        bool     flag    = false;
        int      num2    = -1;
        int      num     = 0;
        int      count   = A_1.list_0.Count;

        while (num < count)
        {
            Struct28 struct5 = A_1.list_0[num];
            if ((!flag && (struct4.int_1 >= struct5.int_1)) && (struct4.int_1 < struct5.int_0))
            {
                Struct30 struct6 = A_1.list_2[num];
                struct6.method_3(struct4.int_1 - A_1.list_0[num].int_1);
                struct3.method_3(struct6);
                num2 = num;
                flag = true;
            }
            if ((flag && (struct4.int_0 > struct5.int_1)) && (struct4.int_0 <= struct5.int_0))
            {
                if ((num < (count - 1)) && (struct4.int_0 < struct5.int_0))
                {
                    struct3.method_1(A_1.list_2[num]);
                }
                else if ((num < (count - 1)) && (struct4.int_0 == struct5.int_0))
                {
                    struct3.method_1(A_1.list_2[num + 1]);
                }
                else if (num2 == (count - 1))
                {
                    struct3.method_1(struct3.method_2());
                }
                else
                {
                    struct3.method_1(this.struct30_1);
                }
            }
            num++;
        }
        return(struct3);
    }
Пример #4
0
    public Class883(Field A_0)
    {
        int num5 = 0x11;

        this.list_0 = new List <Struct28>();
        this.list_1 = new List <int>();
        this.list_2 = new List <Struct30>();
        this.int_0  = -2147483648;
        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("儶倸帺儼嬾", num5));
        }
        this.field_0 = A_0;
        ICompositeObject owner = A_0.Owner as ICompositeObject;

        if (owner != null)
        {
            int index = owner.ChildObjects.IndexOf(A_0);
            int num2  = -1;
            if (A_0.Owner.Owner != null)
            {
                num2 = (A_0.Owner.Owner as ICompositeObject).ChildObjects.IndexOf(A_0.Owner);
            }
            this.struct30_0 = new Struct30(num2, index);
            int num3 = owner.ChildObjects.IndexOf(A_0.Range.method_10());
            int num4 = -1;
            if (A_0.Range.method_10() is ParagraphBase)
            {
                num4 = num2;
            }
            else if (A_0.Range.method_10() is Paragraph)
            {
                Paragraph entity = A_0.Range.method_10() as Paragraph;
                num3 = entity.Items.IndexOf(A_0.End);
                num4 = entity.Owner.ChildObjects.IndexOf(entity);
            }
            this.struct30_1 = new Struct30(num4, num3);
        }
    }
Пример #5
0
 public void method_3(Struct30 A_0)
 {
     this.struct30_1 = A_0;
     this.bool_0     = true;
 }
Пример #6
0
 internal void method_1(Struct30 A_0)
 {
     this.struct30_1 = A_0;
 }
Пример #7
0
 internal void method_7(Struct30 A_0)
 {
     this.struct30_0 = A_0;
 }