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)
88public override int Compare(T x, T y) { 111public override int Compare(Nullable<T> x, Nullable<T> y) { 135public override int Compare(T x, T y) { 159public override int Compare(T x, T y) {
System (1)
compmod\system\collections\generic\sorteddictionary.cs (1)
766public 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)
308public override int Compare(CategoryEditor x, CategoryEditor y)
System.Core (5)
System\Linq\Parallel\Utils\Util.cs (5)
73public override int Compare(int x, int y) 83public override int Compare(long x, long y) 93public override int Compare(float x, float y) 103public override int Compare(double x, double y) 113public 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)
308public override int Compare(CategoryEditor x, CategoryEditor y)
System.Data.Linq (1)
SortableBindingList.cs (1)
82public override int Compare(T x, T y) {
21 references to Compare
mscorlib (3)
system\collections\generic\comparer.cs (1)
79if (x is T && y is T) return Compare((T)x, (T)y);
system\diagnostics\eventing\eventsource.cs (1)
6335sortedChannels.Sort((p1, p2) => -Comparer<ulong>.Default.Compare(p1.Value.Keywords, p2.Value.Keywords));
system\nullable.cs (1)
112if (n2.HasValue) return Comparer<T>.Default.Compare(n1.value, n2.value);
System.Core (6)
System\Linq\Enumerable.cs (4)
1681if (x != null && (value == null || comparer.Compare(x, value) < 0)) 1690if (comparer.Compare(x, value) < 0) 1885if (x != null && (value == null || comparer.Compare(x, value) > 0)) 1894if (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)
1016return Comparer<string>.Default.Compare(left, right); 1032return Comparer<bool>.Default.Compare(left, right); 1048return Comparer<bool?>.Default.Compare(left, right); 1064return Comparer<Guid>.Default.Compare(left, right); 1080return Comparer<Guid?>.Default.Compare(left, right);
System\Data\Services\Providers\DataServiceProviderMethods.cs (5)
119return Comparer<string>.Default.Compare(left, right); 135return Comparer<bool>.Default.Compare(left, right); 151return Comparer<bool?>.Default.Compare(left, right); 167return Comparer<Guid>.Default.Compare(left, right); 183return Comparer<Guid?>.Default.Compare(left, right);
System.ServiceModel (1)
System\UriTemplateHelpers.cs (1)
369return Comparer<int>.Default.Compare(x.queries.Count, y.queries.Count);
System.Workflow.Runtime (1)
KeyedPriorityQueue.cs (1)
219return (priorityComparer.Compare(p1, p2) < 1);