Implemented interface member:
method
Compare
System.Collections.Generic.IComparer<T>.Compare(T, T)
13 overrides of Compare
mscorlib (4)
system\collections\generic\comparer.cs (4)
88
public override int
Compare
(T x, T y) {
111
public override int
Compare
(Nullable<T> x, Nullable<T> y) {
135
public override int
Compare
(T x, T y) {
159
public override int
Compare
(T x, T y) {
System (1)
compmod\system\collections\generic\sorteddictionary.cs (1)
766
public override int
Compare
( KeyValuePair<TKey, TValue> x, KeyValuePair<TKey, TValue> y) {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
308
public override int
Compare
(CategoryEditor x, CategoryEditor y)
System.Core (5)
System\Linq\Parallel\Utils\Util.cs (5)
73
public override int
Compare
(int x, int y)
83
public override int
Compare
(long x, long y)
93
public override int
Compare
(float x, float y)
103
public override int
Compare
(double x, double y)
113
public override int
Compare
(DateTime x, DateTime y)
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
308
public override int
Compare
(CategoryEditor x, CategoryEditor y)
System.Data.Linq (1)
SortableBindingList.cs (1)
82
public override int
Compare
(T x, T y) {
21 references to Compare
mscorlib (3)
system\collections\generic\comparer.cs (1)
79
if (x is T && y is T) return
Compare
((T)x, (T)y);
system\diagnostics\eventing\eventsource.cs (1)
6335
sortedChannels.Sort((p1, p2) => -Comparer<ulong>.Default.
Compare
(p1.Value.Keywords, p2.Value.Keywords));
system\nullable.cs (1)
112
if (n2.HasValue) return Comparer<T>.Default.
Compare
(n1.value, n2.value);
System.Core (6)
System\Linq\Enumerable.cs (4)
1681
if (x != null && (value == null || comparer.
Compare
(x, value) < 0))
1690
if (comparer.
Compare
(x, value) < 0)
1885
if (x != null && (value == null || comparer.
Compare
(x, value) > 0))
1894
if (comparer.
Compare
(x, value) > 0)
System\Linq\Parallel\Enumerables\AggregationMinMaxHelpers.cs (2)
79
(!accumulator.First || Util.Sign(comparer.
Compare
(element, accumulator.Second)) == sign))
103
(!accumulator.First || Util.Sign(comparer.
Compare
(element.Second, accumulator.Second)) == sign))
System.Data.Services (10)
System\Data\Services\Parsing\RequestQueryParser.cs (5)
1016
return Comparer<string>.Default.
Compare
(left, right);
1032
return Comparer<bool>.Default.
Compare
(left, right);
1048
return Comparer<bool?>.Default.
Compare
(left, right);
1064
return Comparer<Guid>.Default.
Compare
(left, right);
1080
return Comparer<Guid?>.Default.
Compare
(left, right);
System\Data\Services\Providers\DataServiceProviderMethods.cs (5)
119
return Comparer<string>.Default.
Compare
(left, right);
135
return Comparer<bool>.Default.
Compare
(left, right);
151
return Comparer<bool?>.Default.
Compare
(left, right);
167
return Comparer<Guid>.Default.
Compare
(left, right);
183
return Comparer<Guid?>.Default.
Compare
(left, right);
System.ServiceModel (1)
System\UriTemplateHelpers.cs (1)
369
return Comparer<int>.Default.
Compare
(x.queries.Count, y.queries.Count);
System.Workflow.Runtime (1)
KeyedPriorityQueue.cs (1)
219
return (priorityComparer.
Compare
(p1, p2) < 1);