Esempio n. 1
0
    internal static void smethod_6(Class1089 A_0, Interface24 A_1)
    {
        MemoryStream output = new MemoryStream();

        A_1.imethod_0(new BinaryWriter(output));
        A_0[A_1.imethod_1()] = output;
    }
Esempio n. 2
0
        public virtual Interface24[] imethod_1(double width, Interface25 breaker)
        {
            if (this.GetBounds(Enum24.flag_1, (Class985)null).Corner2.X > width)
            {
                Class425 class425_1 = this.vmethod_0(true);
                class425_1.Offset = this.Offset;
                using (LinkedList <Interface24> .Enumerator enumerator = this.linkedList_0.GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        Interface24 current = enumerator.Current;
                        if (current.Breakable)
                        {
                            Interface24[] nterface24Array = current.imethod_1(width, breaker);
                            switch (nterface24Array.Length)
                            {
                            case 0:
                                if (class425_1.linkedList_0.Count <= 0)
                                {
                                    return(Class470.interface24_0);
                                }
                                Class425 class425_2 = this.vmethod_0(false);
                                class425_2.method_0(current);
                                while (enumerator.MoveNext())
                                {
                                    class425_2.method_0(enumerator.Current);
                                }
                                return(new Interface24[2] {
                                    (Interface24)class425_1, (Interface24)class425_2
                                });

                            case 1:
                                class425_1.method_0(current);
                                continue;

                            case 2:
                                class425_1.method_0(nterface24Array[0]);
                                Class425 class425_3 = this.vmethod_0(false);
                                class425_3.method_0(nterface24Array[1]);
                                while (enumerator.MoveNext())
                                {
                                    class425_3.method_0(enumerator.Current);
                                }
                                return(new Interface24[2] {
                                    (Interface24)class425_1, (Interface24)class425_3
                                });

                            default:
                                continue;
                            }
                        }
                        else if (current.GetBounds(Enum24.flag_1, (Class985)null).Corner2.X <= width)
                        {
                            class425_1.method_0(current);
                        }
                        else
                        {
                            if (class425_1.linkedList_0.Count <= 0)
                            {
                                return(Class470.interface24_0);
                            }
                            Class425 class425_2 = this.vmethod_0(false);
                            class425_2.method_0(current);
                            while (enumerator.MoveNext())
                            {
                                class425_2.method_0(enumerator.Current);
                            }
                            return(new Interface24[2] {
                                (Interface24)class425_1, (Interface24)class425_2
                            });
                        }
                    }
                }
                return(Class470.interface24_0);
            }
            return(new Interface24[1] {
                (Interface24)this
            });
        }