63 implementations of IComparer
mscorlib (7)
system\array.cs (1)
1921internal sealed class FunctorComparer<T> : IComparer<T> {
system\collections\generic\comparer.cs (1)
20public abstract class Comparer<T> : IComparer, IComparer<T>
system\resources\__fastresourcecomparer.cs (1)
24internal sealed class FastResourceComparer : IComparer, IEqualityComparer, IComparer<String>, IEqualityComparer<String>
system\rttype.cs (1)
3040private class ConstructorInfoComparer : IComparer<ConstructorInfo>
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (1)
33private class KeyValuePairComparator : IComparer<KeyValuePair<TKey, TValue>>
system\stringcomparer.cs (1)
18public abstract class StringComparer : IComparer, IEqualityComparer, IComparer<string>, IEqualityComparer<string>{
system\timezoneinfo.cs (1)
4151private class TimeZoneInfoComparer : System.Collections.Generic.IComparer<TimeZoneInfo> {
PresentationCore (3)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (2)
1169private class NameComparerClass : IComparer<LocalizedName> 1181private class LanguageComparerClass : IComparer<LocalizedName>
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
274private class MatchingFaceComparer : IComparer<MatchingFace>
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\TextAnchor.cs (1)
774private class TextSegmentComparer : IComparer<TextSegment>
System (1)
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1341private sealed class SingleRangeComparer : IComparer<SingleRange> {
System.Activities (2)
System\Activities\RuntimeArgument.cs (1)
523class InternalEvaluationOrderComparer : IComparer<RuntimeArgument>
System\Activities\Statements\TimerTable.cs (1)
359class TimerComparer : IComparer<TimerData>
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (1)
144private class DynamicaActivityPropertyComparer : IComparer<DynamicActivityProperty>
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
120private class PropertyInfoComparer : IComparer<PropertyInfo>
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
15internal class PropertyEntryNameComparer : IComparer, IComparer<PropertyEntry>
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
15internal class PropertyEntryPropertyOrderComparer : IComparer, IComparer<PropertyEntry>
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1485sealed class DistanceSorter : IComparer<DistanceFromPoint>
System.Configuration (1)
System\Configuration\BaseConfigurationRecord.cs (1)
4527private class IndirectLocationInputComparer : IComparer<SectionInput> {
System.Core (5)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (2)
188private class ProducerComparer : IComparer<Producer<TKey>> 519internal class ProducerComparerInt : IComparer<Producer<int>>
System\Linq\Parallel\QueryOperators\Unary\ConcatQueryOperator.cs (1)
340private class ConcatKeyComparer : IComparer<ConcatKey<TLeftKey, TRightKey>>
System\Linq\Parallel\Utils\PairComparer.cs (1)
24internal class PairComparer<T, U> : IComparer<Pair<T, U>>
System\Linq\Parallel\Utils\ReverseComparer.cs (1)
23internal class ReverseComparer<T> : IComparer<T>
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
120private class PropertyInfoComparer : IComparer<PropertyInfo>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryNameComparer.cs (1)
15internal class PropertyEntryNameComparer : IComparer, IComparer<PropertyEntry>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\PropertyEntryPropertyOrderComparer.cs (1)
15internal class PropertyEntryPropertyOrderComparer : IComparer, IComparer<PropertyEntry>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1485sealed class DistanceSorter : IComparer<DistanceFromPoint>
System.Data.DataSetExtensions (1)
System\Data\SortExpressionBuilder.cs (1)
24internal class SortExpressionBuilder<T> : IComparer<List<object>>
System.Data.Entity (2)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
377private class LeftCellWrapperComparer : IComparer<LeftCellWrapper> 405internal class CellIdComparer : IComparer<LeftCellWrapper>
System.Data.Services.Client (1)
System\Data\Services\Client\ArraySet.cs (1)
220private struct SelectorComparer<K> : IComparer<T>
System.Data.SqlXml (3)
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (1)
21internal class DocumentOrderComparer : IComparer<XPathNavigator> {
System\Xml\Xsl\Xslt\Compiler.cs (1)
320private class CompilerErrorComparer : IComparer<CompilerError> {
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
210internal class TemplateMatchComparer : IComparer<TemplateMatch> {
System.Runtime.Serialization (2)
System\Runtime\Serialization\ClassDataContract.cs (2)
1373internal class DataMemberConflictComparer : IComparer<Member> 1549internal class DataMemberComparer : IComparer<DataMember>
System.ServiceModel (11)
System\ServiceModel\Channels\SequenceRangeCollection.cs (2)
353class LowerComparer : IComparer<SequenceRange> 372class UpperComparer : IComparer<SequenceRange>
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
717class MessagePartDescriptionComparer : IComparer<MessagePartDescription>
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
279internal class QNameKeyComparer : IComparer<QName>, IEqualityComparer<QName>
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
610class TableEntryComparer : IComparer<FilterTableEntry>
System\ServiceModel\Dispatcher\QueryBranchOp.cs (1)
986internal class SortComparer : IComparer<QueryBranchResult>
System\ServiceModel\Dispatcher\QueryNode.cs (1)
227internal class QueryNodeComparer : IComparer<QueryNode>
System\ServiceModel\Dispatcher\QueryPrefixOp.cs (1)
10internal class TrieSegmentComparer : IComparer<TrieSegment>
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
242sealed class SctEffectiveTimeComparer : IComparer<SecurityContextSecurityToken>
System\ServiceModel\Security\TimeBoundedCache.cs (1)
457internal class ExpirableItemComparer : IComparer<IExpirableItem>
System\UriTemplateHelpers.cs (1)
364class UriTemplateQueryComparer : IComparer<UriTemplate>
System.ServiceModel.Web (1)
System\ServiceModel\Web\IncomingWebRequestContext.cs (1)
363class AcceptHeaderElementComparer : IComparer<ContentType>
System.Web (1)
ModelBinding\PrefixContainer.cs (1)
68private sealed class PrefixComparer : IComparer<String> {
System.Web.DataVisualization (1)
Common\DataManager\DataPoint.cs (1)
139public class DataPointComparer : IComparer<DataPoint>
System.Web.Extensions (4)
Compilation\WCFModel\SchemaMerger.cs (1)
754private class AttributeComparer : System.Collections.Generic.IComparer<XmlAttribute>
Compilation\WCFModel\WsdlInspector.cs (3)
381private class OperationComparer : System.Collections.Generic.IComparer<Operation> 394private class OperationFaultComparer : System.Collections.Generic.IComparer<OperationFault> 413private class MessagePartComparer : System.Collections.Generic.IComparer<MessagePart>
System.Windows.Forms.DataVisualization (1)
Common\DataManager\DataPoint.cs (1)
139public class DataPointComparer : IComparer<DataPoint>
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Connector.cs (1)
2549private sealed class DistanceSorter : IComparer<DistanceFromPoint>
System.Workflow.Runtime (1)
parent\Common\Shared\DigestComparer.cs (1)
6internal class DigestComparer : IComparer<byte[]>, IEqualityComparer<byte[]>
System.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
633private class DtdDefaultAttributeInfoToNodeDataComparer : IComparer<object> {
System\Xml\XPath\Internal\SortQuery.cs (1)
134internal sealed class XPathSortComparer : IComparer<SortKey> {
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2033IComparer<XNode>
WindowsBase (1)
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
440internal sealed class PieceNameComparer : IComparer<PieceInfo>
209 references to IComparer
mscorlib (40)
system\array.cs (7)
996public static int BinarySearch<T>(T[] array, T value, System.Collections.Generic.IComparer<T> comparer) { 1011public static int BinarySearch<T>(T[] array, int index, int length, T value, System.Collections.Generic.IComparer<T> comparer) { 1805public static void Sort<T>(T[] array, System.Collections.Generic.IComparer<T> comparer) { 1813public static void Sort<TKey, TValue>(TKey[] keys, TValue[] items, System.Collections.Generic.IComparer<TKey> comparer) { 1822public static void Sort<T>(T[] array, int index, int length, System.Collections.Generic.IComparer<T> comparer) { 1855public static void Sort<TKey, TValue>(TKey[] keys, TValue[] items, int index, int length, System.Collections.Generic.IComparer<TKey> comparer) { 1899IComparer<T> comparer = new FunctorComparer<T>(comparison);
system\collections\generic\arraysorthelper.cs (26)
32void Sort(TKey[] keys, int index, int length, IComparer<TKey> comparer); 33int BinarySearch(TKey[] keys, int index, int length, TKey value, IComparer<TKey> comparer); 128public void Sort(T[] keys, int index, int length, IComparer<T> comparer) 169public int BinarySearch(T[] array, int index, int length, T value, IComparer<T> comparer) 188internal static int InternalBinarySearch(T[] array, int index, int length, T value, IComparer<T> comparer) 214private static void SwapIfGreater(T[] keys, IComparer<T> comparer, int a, int b) 237internal static void DepthLimitedQuickSort(T[] keys, int left, int right, IComparer<T> comparer, int depthLimit) 293internal static void IntrospectiveSort(T[] keys, int left, int length, IComparer<T> comparer) 308private static void IntroSort(T[] keys, int lo, int hi, int depthLimit, IComparer<T> comparer) 355private static int PickPivotAndPartition(T[] keys, int lo, int hi, IComparer<T> comparer) 392private static void Heapsort(T[] keys, int lo, int hi, IComparer<T> comparer) 412private static void DownHeap(T[] keys, int i, int n, int lo, IComparer<T> comparer) 436private static void InsertionSort(T[] keys, int lo, int hi, IComparer<T> comparer) 468public void Sort(T[] keys, int index, int length, IComparer<T> comparer) 533public int BinarySearch(T[] array, int index, int length, T value, IComparer<T> comparer) 869void Sort(TKey[] keys, TValue[] values, int index, int length, IComparer<TKey> comparer); 904public void Sort(TKey[] keys, TValue[] values, int index, int length, IComparer<TKey> comparer) 945private static void SwapIfGreaterWithItems(TKey[] keys, TValue[] values, IComparer<TKey> comparer, int a, int b) 986internal static void DepthLimitedQuickSort(TKey[] keys, TValue[] values, int left, int right, IComparer<TKey> comparer, int depthLimit) 1048internal static void IntrospectiveSort(TKey[] keys, TValue[] values, int left, int length, IComparer<TKey> comparer) 1065private static void IntroSort(TKey[] keys, TValue[] values, int lo, int hi, int depthLimit, IComparer<TKey> comparer) 1113private static int PickPivotAndPartition(TKey[] keys, TValue[] values, int lo, int hi, IComparer<TKey> comparer) 1151private static void Heapsort(TKey[] keys, TValue[] values, int lo, int hi, IComparer<TKey> comparer) 1172private static void DownHeap(TKey[] keys, TValue[] values, int i, int n, int lo, IComparer<TKey> comparer) 1201private static void InsertionSort(TKey[] keys, TValue[] values, int lo, int hi, IComparer<TKey> comparer) 1236public void Sort(TKey[] keys, TValue[] values, int index, int length, IComparer<TKey> comparer)
system\collections\generic\list.cs (5)
276public int BinarySearch(int index, int count, T item, IComparer<T> comparer) { 295public int BinarySearch(T item, IComparer<T> comparer) 954public void Sort(IComparer<T> comparer) 967public void Sort(int index, int count, IComparer<T> comparer) { 991IComparer<T> comparer = new Array.FunctorComparer<T>(comparison);
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (1)
35private static readonly IComparer<TKey> keyComparator = Comparer<TKey>.Default;
system\timezoneinfo.cs (1)
4152int System.Collections.Generic.IComparer<TimeZoneInfo>.Compare(TimeZoneInfo x, TimeZoneInfo y) {
PresentationCore (7)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (4)
1153internal static IComparer<LocalizedName> NameComparer 1161internal static IComparer<LocalizedName> LanguageComparer 1173int IComparer<LocalizedName>.Compare(LocalizedName x, LocalizedName y) 1185int IComparer<LocalizedName>.Compare(LocalizedName x, LocalizedName y)
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
282int IComparer<MatchingFace>.Compare(MatchingFace a, MatchingFace b)
Shared\MS\Internal\PriorityQueue.cs (2)
71internal PriorityQueue(int capacity, IComparer<T> comparer) 286private IComparer<T> _comparer;
System (26)
compmod\system\collections\generic\sorteddictionary.cs (8)
25public SortedDictionary() : this((IComparer<TKey>)null) { 31public SortedDictionary(IDictionary<TKey,TValue> dictionary, IComparer<TKey> comparer) { 43public SortedDictionary(IComparer<TKey> comparer) { 118public IComparer<TKey> Comparer { 756internal IComparer<TKey> keyComparer; 758public KeyValuePairComparer(IComparer<TKey> keyComparer) { 792public TreeSet(IComparer<T> comparer) : base(comparer) { } 796public TreeSet(ICollection<T> collection, IComparer<T> comparer) : base(collection, comparer) { }
compmod\system\collections\generic\sortedlist.cs (5)
73private IComparer<TKey> comparer; 124public SortedList(IComparer<TKey> comparer) 140public SortedList(int capacity, IComparer<TKey> comparer) 163public SortedList(IDictionary<TKey, TValue> dictionary, IComparer<TKey> comparer) 240public IComparer<TKey> Comparer {
compmod\system\collections\generic\sortedset.cs (13)
63IComparer<T> comparer; 98public SortedSet(IComparer<T> comparer) { 109public SortedSet(IEnumerable<T> collection, IComparer<T> comparer) 298public IComparer<T> Comparer { 917internal static bool SortedSetEquals(SortedSet<T> set1, SortedSet<T> set2, IComparer<T> comparer) { 2028comparer = (IComparer<T>)siInfo.GetValue(ComparerName, typeof(IComparer<T>)); 2082info.AddValue(ComparerName, comparer, typeof(IComparer<T>)); 2105comparer = (IComparer<T>)siInfo.GetValue(ComparerName, typeof(IComparer<T>)); 2412private IComparer<T> comparer; 2417public SortedSetEqualityComparer(IComparer<T> comparer) : this(comparer, null) { } 2425public SortedSetEqualityComparer(IComparer<T> comparer, IEqualityComparer<T> memberEqualityComparer) {
System.Activities (5)
System\Activities\RuntimeArgument.cs (1)
83internal static IComparer<RuntimeArgument> EvaluationOrderComparer
System\Activities\Validation\ExtensionMethods.cs (4)
39public static int BinarySearch<T>(this IList<T> items, T value, IComparer<T> comparer) 44public static void QuickSort<T>(this IList<T> items, IComparer<T> comparer) 49static int BinarySearch<T>(IList<T> items, int startIndex, int length, T value, IComparer<T> comparer) 73static void QuickSort<T>(IList<T> items, int startIndex, int endIndex, IComparer<T> comparer)
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (2)
38public int BinarySearch(T value, IComparer<T> comparer) 50public void Sort(IComparer<T> comparer)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (3)
97IComparer<PropertyEntry> comparer) 110IComparer<PropertyEntry> comparer, 161internal void Refresh(ModelPropertyEntry property, ObservableCollection<PropertyEntry> bucket, IComparer<PropertyEntry> sortComparer)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\AlphabeticalViewManager.cs (1)
35private IComparer<PropertyEntry> PropertyComparer
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
37private IComparer<PropertyEntry> PropertyComparer
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1497int IComparer<DistanceFromPoint>.Compare(DistanceFromPoint lhs, DistanceFromPoint rhs)
System.Configuration (1)
System\Configuration\BaseConfigurationRecord.cs (1)
163private static IComparer<SectionInput> s_indirectInputsComparer = new IndirectLocationInputComparer();
System.Core (83)
System\Linq\Enumerable.cs (10)
736public static IOrderedEnumerable<TSource> OrderBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 744public static IOrderedEnumerable<TSource> OrderByDescending<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 753public static IOrderedEnumerable<TSource> ThenBy<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 763public static IOrderedEnumerable<TSource> ThenByDescending<TSource, TKey>(this IOrderedEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) { 2161IOrderedEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending); 2559IOrderedEnumerable<TElement> IOrderedEnumerable<TElement>.CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending) { 2570internal IComparer<TKey> comparer; 2573internal OrderedEnumerable(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending) { 2636internal IComparer<TKey> comparer; 2641internal EnumerableSorter(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending, EnumerableSorter<TElement> next) {
System\Linq\IQueryable.cs (8)
340public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 349new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Constant(comparer, typeof(IComparer<TKey>)) } 366public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 375new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Constant(comparer, typeof(IComparer<TKey>)) } 392public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 401new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Constant(comparer, typeof(IComparer<TKey>)) } 418public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) { 427new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Constant(comparer, typeof(IComparer<TKey>)) }
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (6)
87private IComparer<Producer<TKey>> m_producerComparer; 120IComparer<TKey> keyComparer) 140m_producerComparer = (IComparer<Producer<TKey>>)(object)new ProducerComparerInt(); 190private IComparer<TKey> _keyComparer; 192internal ProducerComparer(IComparer<TKey> keyComparer) 248internal OrderedPipeliningMergeEnumerator(OrderPreservingPipeliningMergeHelper<TOutput, TKey> mergeHelper, IComparer<Producer<TKey>> producerComparer)
System\Linq\Parallel\Partitioning\HashRepartitionStream.cs (1)
49int partitionsCount, IComparer<TOrderKey> orderKeyComparer, IEqualityComparer<THashKey> hashKeyComparer,
System\Linq\Parallel\Partitioning\PartitionedStream.cs (3)
39private readonly IComparer<TKey> m_keyComparer; // Comparer for order keys. 42internal PartitionedStream(int partitionCount, IComparer<TKey> keyComparer, OrdinalIndexState indexState) 91internal IComparer<TKey> KeyComparer
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (2)
235private IComparer<TLeftKey> m_leftKeyComparer; // A comparer for order keys. 246IEqualityComparer<TInputOutput> comparer, IComparer<TLeftKey> leftKeyComparer,
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (2)
239private IComparer<TLeftKey> m_leftKeyComparer; // Comparer to use to determine ordering of order keys. 250IEqualityComparer<TInputOutput> comparer, IComparer<TLeftKey> leftKeyComparer,
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (3)
129IComparer<ConcatKey<TLeftKey, TRightKey>> compoundKeyComparer = 308private IComparer<ConcatKey<TLeftKey, TRightKey>> m_keyComparer; // Comparer for compound order keys. 322bool leftOrdered, bool rightOrdered, IEqualityComparer<TInputOutput> comparer, IComparer<ConcatKey<TLeftKey, TRightKey>> keyComparer,
System\Linq\Parallel\QueryOperators\Unary\ConcatQueryOperator.cs (8)
125IComparer<ConcatKey<TLeftKey, TRightKey>> comparer = ConcatKey<TLeftKey, TRightKey>.MakeComparer( 328internal static IComparer<ConcatKey<TLeftKey, TRightKey>> MakeComparer( 329IComparer<TLeftKey> leftComparer, IComparer<TRightKey> rightComparer) 342private IComparer<TLeftKey> m_leftComparer; 343private IComparer<TRightKey> m_rightComparer; 345internal ConcatKeyComparer(IComparer<TLeftKey> leftComparer, IComparer<TRightKey> rightComparer)
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (2)
202private IComparer<TKey> m_keyComparer; // Comparer to decide the key order. 212IEqualityComparer<TInputOutput> comparer, IComparer<TKey> keyComparer,
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (2)
134private IComparer<TKey> m_keyComparer; // Comparer for the order keys 143IComparer<TKey> keyComparer, int partitionId)
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (8)
153IComparer<TKey> orderComparer = hashStream.KeyComparer; 439protected readonly IComparer<TOrderKey> m_orderComparer; // The comparison routine for order keys. 454Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 528internal GroupKeyData(TOrderKey orderKey, TGroupKey hashKey, IComparer<TOrderKey> orderComparer) 551Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 625Func<TSource, TGroupKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 745private IComparer<TOrderKey> m_orderComparer; // Comparer for order keys 753IComparer<TOrderKey> orderComparer)
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (2)
130private IComparer<TKey> m_keyComparer; // Comparer for the order keys 139IComparer<TKey> keyComparer, int partitionId)
System\Linq\Parallel\QueryOperators\Unary\SortQueryOperator.cs (8)
29private readonly IComparer<TSortKey> m_comparer; // Key comparison logic to use during sorting. 36IComparer<TSortKey> comparer, bool descending) 66Func<TInputOutput, TKey2> key2Selector, IComparer<TKey2> key2Comparer, bool descending) 75IComparer<Pair<TSortKey, TKey2>> pairComparer = new PairComparer<TSortKey, TKey2>(m_comparer, key2Comparer); 95internal IComparer<TSortKey> KeyComparer 203private readonly IComparer<TSortKey> m_keyComparer; // Key comparison logic to use during sorting. 210Func<TInputOutput, TSortKey> keySelector, IComparer<TSortKey> keyComparer) 224public IComparer<TSortKey> KeyComparer
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (2)
157private readonly IComparer<TKey> m_keyComparer; // Comparer for the order keys. 174IComparer<TKey> keyComparer)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (2)
215private readonly IComparer<TKey> m_keyComparer; // Comparer for the order keys. 234OperatorState<TKey> operatorState, CountdownEvent sharedBarrier, CancellationToken cancelToken, IComparer<TKey> keyComparer)
System\Linq\Parallel\Utils\FixedMaxHeap.cs (2)
31private IComparer<TElement> m_comparer; // Element comparison routine. 42internal FixedMaxHeap(int maximumSize, IComparer<TElement> comparer)
System\Linq\Parallel\Utils\PairComparer.cs (4)
26private IComparer<T> m_comparer1; 27private IComparer<U> m_comparer2; 29public PairComparer(IComparer<T> comparer1, IComparer<U> comparer2)
System\Linq\Parallel\Utils\ReverseComparer.cs (2)
25private IComparer<T> m_comparer; 27internal ReverseComparer(IComparer<T> comparer)
System\Linq\Parallel\Utils\Sorting.cs (2)
53private IComparer<TKey> m_keyComparer; // Comparer for the order keys 64OrdinalIndexState indexState, IComparer<TKey> keyComparer,
System\Linq\ParallelEnumerable.cs (4)
1150this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1204this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1263this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer) 1322this OrderedParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (2)
38public int BinarySearch(T value, IComparer<T> comparer) 50public void Sort(IComparer<T> comparer)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (3)
97IComparer<PropertyEntry> comparer) 110IComparer<PropertyEntry> comparer, 161internal void Refresh(ModelPropertyEntry property, ObservableCollection<PropertyEntry> bucket, IComparer<PropertyEntry> sortComparer)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\AlphabeticalViewManager.cs (1)
35private IComparer<PropertyEntry> PropertyComparer
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
37private IComparer<PropertyEntry> PropertyComparer
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1497int IComparer<DistanceFromPoint>.Compare(DistanceFromPoint lhs, DistanceFromPoint rhs)
System.Data.DataSetExtensions (7)
System\Data\EnumerableRowCollection.cs (1)
333IComparer<TKey> comparer,
System\Data\EnumerableRowCollectionExtensions.cs (4)
57IComparer<TKey> comparer) 85IComparer<TKey> comparer) 117IComparer<TKey> comparer) 152IComparer<TKey> comparer)
System\Data\TypedTableBaseExtensions.cs (2)
54IComparer<TKey> comparer) where TRow : DataRow 79IComparer<TKey> comparer) where TRow : DataRow
System.Data.Entity (3)
System\Data\Common\Internal\Materialization\CompensatingCollection.cs (1)
67IOrderedEnumerable<TElement> IOrderedEnumerable<TElement>.CreateOrderedEnumerable<K>(Func<TElement, K> keySelector, IComparer<K> comparer, bool descending)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
58internal static readonly IComparer<LeftCellWrapper> Comparer = new LeftCellWrapperComparer(); 59internal static readonly IComparer<LeftCellWrapper> OriginalCellIdComparer = new CellIdComparer();
System.Data.Linq (1)
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2993IOrderedEnumerable<T> IOrderedEnumerable<T>.CreateOrderedEnumerable<K>(Func<T, K> keySelector, IComparer<K> comparer, bool descending) {
System.Data.Services.Client (1)
System\Data\Services\Client\ArraySet.cs (1)
232int IComparer<T>.Compare(T x, T y)
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
535public XmlQueryNodeSequence DocOrderDistinct(IComparer<XPathNavigator> comparer) {
System.Runtime.Serialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
1040IComparer<Member> comparer = DataMemberConflictComparer.Singleton;
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QueryUtil.cs (3)
489internal void Sort(IComparer<T> comparer) 537where C : IComparer<T> 847public static IComparer<T> Comparer;
System.Web.DataVisualization (4)
Common\DataManager\DataSeries.cs (1)
1396 public void Sort(IComparer<DataPoint> comparer)
Common\General\DataManipulator.cs (3)
405 private void Sort(IComparer<DataPoint> comparer, Series[] series) 552public void Sort(IComparer<DataPoint> comparer, Series series) 566public void Sort(IComparer<DataPoint> comparer, string seriesName)
System.Windows.Forms.DataVisualization (4)
Common\DataManager\DataSeries.cs (1)
1396 public void Sort(IComparer<DataPoint> comparer)
Common\General\DataManipulator.cs (3)
405 private void Sort(IComparer<DataPoint> comparer, Series[] series) 552public void Sort(IComparer<DataPoint> comparer, Series series) 566public void Sort(IComparer<DataPoint> comparer, string seriesName)
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Connector.cs (1)
2559int IComparer<DistanceFromPoint>.Compare(DistanceFromPoint lhs, DistanceFromPoint rhs)
System.Workflow.Runtime (1)
parent\Common\Shared\DigestComparer.cs (1)
8int IComparer<byte[]>.Compare(byte[] digest1, byte[] digest2)
System.Xml (3)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
634private static IComparer<object> s_instance = new DtdDefaultAttributeInfoToNodeDataComparer(); 636internal static IComparer<object> Instance {
System\Xml\XPath\Internal\SortQuery.cs (1)
180int IComparer<SortKey>.Compare(SortKey x, SortKey y) {
WindowsBase (1)
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
448int IComparer<PieceInfo>.Compare(PieceInfo pieceInfoA, PieceInfo pieceInfoB)