20 references to Comparer
System (20)
compmod\system\collections\generic\sorteddictionary.cs (1)
120
return ((KeyValuePairComparer)_set.
Comparer
).keyComparer;
compmod\system\collections\generic\sortedset.cs (19)
952
return set1.
Comparer
.Equals(set2.
Comparer
);
1013
int comp =
Comparer
.Compare(mine.Current, theirs.Current);
1149
while (!mineEnded && !theirsEnded &&
Comparer
.Compare(theirs.Current, max) <= 0) {
1150
int comp =
Comparer
.Compare(mine.Current, theirs.Current);
1271
Array.Sort(elements, this.
Comparer
);
1500
if (
Comparer
.Compare(mine.Current, theirs.Current) != 0) {
1700
if (
Comparer
.Compare(lowerValue, upperValue) > 0) {
1746
: base(Underlying.
Comparer
) {
1837
int comp = (lBoundActive ?
Comparer
.Compare(min, item) : -1);
1841
comp = (uBoundActive ?
Comparer
.Compare(max, item) : 1);
1863
} else if (lBoundActive &&
Comparer
.Compare(min, current.Item) > 0) {
1881
} else if (lBoundActive &&
Comparer
.Compare(min, node.Item) > 0) {
1908
if (current.Left != null && (!lBoundActive ||
Comparer
.Compare(min, current.Item) < 0)) {
1911
if (current.Right != null && (!uBoundActive ||
Comparer
.Compare(max, current.Item) > 0)) {
1937
if (
Comparer
.Compare(item, i) == 0)
1969
if (lBoundActive &&
Comparer
.Compare(min, lowerValue) > 0) {
1973
if (uBoundActive &&
Comparer
.Compare(max, upperValue) < 0) {
2251
if (tree.
Comparer
.Compare(this.Current, item) == 0)