Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10787

Timestamp:
04/23/14 18:33:14 (12 years ago)
Author:
abeham
Message:

#2106: Changed StableSort extension methods:

  • Parameters index and count were ignored in List<T>.StableSort(int, int, Comparison<T>)
  • Made both StableSortComparer<T> private classes
  • Added sanity checks similar to those of Array.Sort and List<T>.Sort
    • Before it was possible that index + count was bigger than the size of the list
  • Reduced number of method overloads to 2 by introducing IComparer<T> as optional parameter
(No files)

Note: See TracChangeset for help on using the changeset viewer.