Exemple #1
0
 /// <summary>
 /// Reverses the order of the elements in the entire list.
 /// </summary>
 public static void Reverse(SystemGenerics.List <T> list)
 {
     (list as Mock)?.CheckDataRace(true);
     list.Reverse();
 }
Exemple #2
0
 /// <summary>
 /// Reverses the order of the elements in the specified range.
 /// </summary>
 public static void Reverse(SystemGenerics.List <T> list, int index, int count)
 {
     (list as Mock)?.CheckDataRace(true);
     list.Reverse(index, count);
 }