예제 #1
0
    // Token: 0x0600289D RID: 10397 RVA: 0x0012FC60 File Offset: 0x0012DE60
    public static bool smethod_16 <T>(T gparam_0, List <T> list_0, bool bool_0 = true) where T : GClass16
    {
        int num = GClass16.smethod_9 <T>(gparam_0, list_0.ToArray());

        if (num != -1)
        {
            if (bool_0 && gparam_0.GetType() == typeof(GClass19))
            {
                GClass19 gclass  = GClass16.smethod_12 <T>(gparam_0.GetType(), num, list_0) as GClass19;
                GClass19 gclass2 = GClass16.smethod_14 <T>(gparam_0.GetType(), num, list_0) as GClass19;
                if (GClass16.smethod_1(gclass, null))
                {
                    gclass.gclass19_1 = gclass2;
                }
                if (GClass16.smethod_1(gclass2, null))
                {
                    gclass2.gclass19_0 = gclass;
                }
            }
            list_0.RemoveAt(num);
            return(true);
        }
        return(false);
    }