7 references to Sort
Microsoft.CodeAnalysis (3)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
321=> GetOrCreateMutableList().Sort(index, count, comparer);
SegmentedList`1.cs (2)
1064=> Sort(0, Count, null); 1069=> Sort(0, Count, comparer);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\List\SegmentedList.Generic.Tests.Sort.cs (4)
137list.Sort(startIndex, sortCount + 1, comparer); 154list.Sort(startIndex, sortCount + 1, comparer); 182Assert.Throws<ArgumentOutOfRangeException>(() => list.Sort(invalidSet.Item1, invalidSet.Item2, GetIComparer())); 200Assert.Throws<ArgumentException>(null, () => list.Sort(invalidSet.Item1, invalidSet.Item2, GetIComparer()));