Пример #1
0
        // Sort the list, according to the comparer
        internal static void Sort(this IList list, IComparer comparer)
        {
            ArrayList       al;
            LiveShapingList lsList;

            if ((al = list as ArrayList) != null)
            {
                SortFieldComparer.SortHelper(al, comparer);
            }
            else if ((lsList = list as LiveShapingList) != null)
            {
                lsList.Sort();
            }
        }
        // Token: 0x060074CC RID: 29900 RVA: 0x00216868 File Offset: 0x00214A68
        internal static void Sort(this IList list, IComparer comparer)
        {
            ArrayList al;

            if ((al = (list as ArrayList)) != null)
            {
                SortFieldComparer.SortHelper(al, comparer);
                return;
            }
            LiveShapingList liveShapingList;

            if ((liveShapingList = (list as LiveShapingList)) != null)
            {
                liveShapingList.Sort();
            }
        }