Example #1
0
    // Token: 0x060003AE RID: 942 RVA: 0x00009DE8 File Offset: 0x00007FE8
    public static GClass0 smethod_3(Control control_0)
    {
        if (control_0 == null)
        {
            throw GClass6.smethod_10();
        }
        GClass0 gclass = new GClass0();

        while (control_0 != null && GClass6.smethod_14(GClass6.smethod_12(control_0), GClass6.smethod_13(typeof(GControl18).TypeHandle)))
        {
            control_0 = GClass6.smethod_11(control_0);
        }
        if (control_0 != null)
        {
            GControl18 gcontrol = (GControl18)control_0;
            gclass.color_0 = gcontrol.Color_3;
        }
        return(gclass);
    }