102 implementations of IComparer
mscorlib (7)
system\appdomain.cs (1)
4047private class CAPTCASearcher : IComparer
system\collections\caseinsensitivecomparer.cs (1)
24public class CaseInsensitiveComparer : IComparer {
system\collections\comparer.cs (1)
27public sealed class Comparer : IComparer , ISerializable
system\collections\generic\comparer.cs (1)
20public abstract class Comparer<T> : IComparer, IComparer<T>
system\collections\structuralcomparisons.cs (1)
75internal class StructuralComparer : IComparer {
system\resources\__fastresourcecomparer.cs (1)
24internal sealed class FastResourceComparer : IComparer, IEqualityComparer, IComparer<String>, IEqualityComparer<String>
system\stringcomparer.cs (1)
18public abstract class StringComparer : IComparer, IEqualityComparer, IComparer<string>, IEqualityComparer<string>{
PresentationFramework (19)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
644internal class IListComparer : IComparer
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
32internal class SortFieldComparer : IComparer
src\Framework\System\Windows\Controls\Grid.cs (13)
3670private class SpanPreferredDistributionOrderComparer : IComparer 3712private class SpanMaxDistributionOrderComparer : IComparer 3754private class StarDistributionOrderComparer : IComparer 3775private class DistributionOrderComparer: IComparer 3799private class StarDistributionOrderIndexComparer : IComparer 3840private class DistributionOrderIndexComparer : IComparer 3883private class RoundingErrorIndexComparer : IComparer 3916private class MinRatioComparer : IComparer 3939private class MaxRatioComparer : IComparer 3961private class StarWeightComparer : IComparer 3982private class MinRatioIndexComparer : IComparer 4023private class MaxRatioIndexComparer : IComparer 4064private class StarWeightIndexComparer : IComparer
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
36public sealed class BindingListCollectionView : CollectionView, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
39public class ListCollectionView : CollectionView, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (1)
288class NameComparer : IComparer
src\Framework\System\Windows\Documents\TextStore.cs (1)
4073private class MouseSink : IDisposable, IComparer
System (8)
compmod\system\componentmodel\CultureInfoConverter.cs (1)
267private class CultureComparer : IComparer {
compmod\system\componentmodel\ReferenceConverter.cs (1)
212private class ReferenceComparer : IComparer {
compmod\system\componentmodel\TypeDescriptor.cs (1)
3679private sealed class MemberDescriptorComparer : IComparer {
misc\invariantcomparer.cs (1)
7internal class InvariantComparer : IComparer {
net\System\Net\cookie.cs (1)
1617internal class Comparer: IComparer {
net\System\Net\cookiecontainer.cs (1)
960class PathListComparer : IComparer {
net\System\Net\WebHeaderCollection.cs (1)
1976internal class CaseInsensitiveAscii : IEqualityComparer, IComparer{
services\monitoring\system\diagnosticts\Process.cs (1)
2783internal class OrdinalCaseInsensitiveComparer : IComparer {
System.Activities.Presentation (2)
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.Data (3)
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>
fx\src\data\System\Data\SqlClient\LocalDBConfig.cs (1)
38private class TrimOrdinalIgnoreCaseStringComparer : IComparer
System.Data.Entity (1)
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
108internal class ByValueComparer : IComparer
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\Templatemanager.cs (1)
21private class TemplateComparer : IComparer {
System.Drawing (2)
commonui\System\Drawing\ColorConverter.cs (1)
411private class ColorComparer : IComparer {
misc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
System.Messaging (1)
parent\parent\inc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
System.Runtime.Serialization (2)
System\Xml\XmlBaseReader.cs (1)
2724class AttributeSorter : IComparer
System\Xml\XmlC14NWriter.cs (1)
944class AttributeSorter : IComparer
System.Security (3)
system\security\cryptography\xml\c14nutil.cs (2)
662internal class AttributeSortOrder : IComparer { 676internal class NamespaceSortOrder : IComparer {
system\security\cryptography\xml\signedxml.cs (1)
817private class ReferenceLevelSortOrder : IComparer {
System.ServiceModel (1)
System\ServiceModel\Configuration\XPathMessageFilterElementComparer.cs (1)
13public class XPathMessageFilterElementComparer : IComparer
System.Web (7)
Configuration\RuleInfoComparer.cs (1)
38internal class RuleInfoComparer : IComparer{
parent\parent\parent\misc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
UI\ControlBuilder.cs (1)
3260internal sealed class FilteredPropertyEntryComparer : IComparer {
UI\RootBuilder.cs (1)
88private class ReferenceKeyComparer : IComparer, IEqualityComparer {
UI\WebParts\PersonalizableTypeEntry.cs (1)
98private sealed class DeclaringTypeComparer : IComparer {
UI\WebParts\WebPart.cs (1)
865internal sealed class ZoneIndexComparer : IComparer {
Util\SymbolEqualComparer.cs (1)
21internal class SymbolEqualComparer: IComparer {
System.Web.DataVisualization (2)
Common\ChartTypes\BarChart.cs (1)
2201 internal class BarPointsDrawingOrderComparer : IComparer
Common\General\ChartArea3D.cs (1)
1911 internal class PointsDrawingOrderComparer : IComparer
System.Web.Services (2)
parent\parent\inc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
System\Web\Services\Protocols\SoapReflector.cs (1)
97internal class SoapHeaderAttributeComparer : IComparer {
System.Windows.Forms (20)
misc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
winforms\Managed\System\WinForms\ComboBox.cs (1)
4000private sealed class ItemComparer : System.Collections.IComparer {
winforms\Managed\System\WinForms\Control.cs (1)
6783private class ControlTabOrderComparer : IComparer {
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
1282private class ColumnOrderComparer : IComparer
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
3129private sealed class ItemComparer : System.Collections.IComparer
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
709private sealed class DomainUpDownItemCompare : IComparer {
winforms\Managed\System\WinForms\EnumValAlphaComparer.cs (1)
12internal class EnumValAlphaComparer : IComparer {
winforms\Managed\System\WinForms\KeysConverter.cs (1)
27public class KeysConverter : TypeConverter, IComparer {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (3)
1837private abstract class SpanComparer : IComparer { 1871private class PostAssignedPositionComparer : IComparer { 1897private class PreAssignedPositionComparer : IComparer {
winforms\Managed\System\WinForms\LinkLabel.cs (1)
2622private class LinkComparer : IComparer {
winforms\Managed\System\WinForms\ListBox.cs (1)
2516internal class ItemArray : IComparer {
winforms\Managed\System\WinForms\ListView.cs (1)
6382internal class IconComparer: IComparer {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
3118public class DisplayNameSortComparer : IComparer { 3126internal class AttributeTypeSorter : IComparer{
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
323private class PDComparer : IComparer {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
2192internal class ToolStripCustomIComparer : IComparer {
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
1568public class XYComparer : IComparer { 1590public class YXComparer : IComparer {
System.Windows.Forms.DataVisualization (2)
Common\ChartTypes\BarChart.cs (1)
2201 internal class BarPointsDrawingOrderComparer : IComparer
Common\General\ChartArea3D.cs (1)
1911 internal class PointsDrawingOrderComparer : IComparer
System.Workflow.Activities (1)
Rules\Design\Dialogs\RuleSetDialog.cs (1)
498private class ListViewItemComparer : IComparer
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerInterfaces.cs (1)
1087private class ActivityDesignerVerbComparer : IComparer
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
894internal sealed class ThemeTreeNodeComparer : IComparer
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1168private sealed class ListItemComparer : IComparer
AuthoringOM\Design\Themes.cs (1)
3219private sealed class PropertyDescriptorSorter : IComparer
System.Xml (9)
parent\misc\InvariantComparer.cs (1)
7internal class InvariantComparer : IComparer {
System\Xml\Serialization\Mappings.cs (2)
642internal class AccessorComparer : IComparer { 762internal class MemberMappingComparer : IComparer {
System\Xml\Serialization\SchemaObjectWriter.cs (4)
19internal class XmlAttributeComparer : IComparer { 31internal class XmlFacetComparer : IComparer { 39internal class QNameComparer : IComparer { 51internal class XmlSchemaObjectComparer : IComparer {
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1645internal class ElementComparer : IComparer {
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
126internal sealed class XPathComparerHelper : IComparer {
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2031IComparer,
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
541private class SortGroups : IComparer 598private class SortGroupItems : IComparer
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CaseInsensitiveOrdinalStringComparer.cs (1)
27IEqualityComparer, IComparer
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (1)
373private class HeaderFileOffsetComparer : IComparer
200 references to IComparer
mscorlib (61)
system\appdomain.cs (1)
4049int IComparer.Compare(object /*string*/lhs, object /*AssemblyName*/rhs)
system\array.cs (11)
752Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 885public static int BinarySearch(Array array, Object value, IComparer comparer) { 911public static int BinarySearch(Array array, int index, int length, Object value, IComparer comparer) { 1691public static void Sort(Array array, IComparer comparer) { 1707public static void Sort(Array keys, Array items, IComparer comparer) { 1721public static void Sort(Array array, int index, int length, IComparer comparer) { 1735public static void Sort(Array keys, Array items, int index, int length, IComparer comparer) { 1939private IComparer comparer; 1941internal SorterObjectArray(Object[] keys, Object[] items, IComparer comparer) { 2257private IComparer comparer; 2259internal SorterGenericArray(Array keys, Array items, IComparer comparer)
system\collections\arraylist.cs (16)
239public virtual int BinarySearch(int index, int count, Object value, IComparer comparer) { 259public virtual int BinarySearch(Object value, IComparer comparer) 706public virtual void Sort(IComparer comparer) 719public virtual void Sort(int index, int count, IComparer comparer) { 856public override int BinarySearch(int index, int count, Object value, IComparer comparer) 1104public override void Sort(int index, int count, IComparer comparer) { 1290public override int BinarySearch(Object value, IComparer comparer) { 1297public override int BinarySearch(int index, int count, Object value, IComparer comparer) { 1452public override void Sort(IComparer comparer) { 1459public override void Sort(int index, int count, IComparer comparer) { 1711public override int BinarySearch(int index, int count, Object value, IComparer comparer) { 1826public override void Sort(int index, int count, IComparer comparer) { 1967public override int BinarySearch(int index, int count, Object value, IComparer comparer) { 2081public override void Sort(int index, int count, IComparer comparer) { 2210public override int BinarySearch(int index, int count, Object value, IComparer comparer) { 2491public override void Sort(int index, int count, IComparer comparer) {
system\collections\compatiblecomparer.cs (3)
15IComparer _comparer; 19internal CompatibleComparer(IComparer comparer, IHashCodeProvider hashCodeProvider) { 54internal IComparer Comparer {
system\collections\generic\comparer.cs (1)
76int IComparer.Compare(object x, object y) {
system\collections\hashtable.cs (12)
193_keycomparer = new CompatibleComparer((IComparer)null, value); 203protected IComparer comparer 315public Hashtable(int capacity, float loadFactor, IHashCodeProvider hcp, IComparer comparer) : this(capacity, loadFactor) { 333public Hashtable(IHashCodeProvider hcp, IComparer comparer) : this(0, 1.0f, hcp, comparer) { 344public Hashtable(int capacity, IHashCodeProvider hcp, IComparer comparer) 366public Hashtable(IDictionary d, IHashCodeProvider hcp, IComparer comparer) 375public Hashtable(IDictionary d, float loadFactor, IHashCodeProvider hcp, IComparer comparer) 1179info.AddValue(ComparerName, null,typeof(IComparer)); 1184info.AddValue(ComparerName, c.Comparer, typeof(IComparer)); 1224IComparer c = null; 1249c = (IComparer)siInfo.GetValue(ComparerName, typeof(IComparer));
system\collections\istructuralcomparable.cs (1)
6Int32 CompareTo(Object other, IComparer comparer);
system\collections\sortedlist.cs (4)
76private IComparer comparer; 129public SortedList(IComparer comparer) 143public SortedList(IComparer comparer, int capacity) 166public SortedList(IDictionary d, IComparer comparer)
system\collections\structuralcomparisons.cs (3)
14private static volatile IComparer s_StructuralComparer; 17public static IComparer StructuralComparer { 19IComparer comparer = s_StructuralComparer;
system\tuple.cs (8)
113Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 203Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 308Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 424Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 551Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 689Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 838Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 1002Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) {
system\type.cs (1)
1438IComparer comparer = Comparer.Default;
PresentationFramework (41)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (3)
375internal int Insert(object item, object seed, IComparer comparer) 394protected virtual int FindIndex(object item, object seed, IComparer comparer, int low, int high) 764IComparer _groupComparer;
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
93internal IComparer ActiveComparer 207protected override int FindIndex(object item, object seed, IComparer comparer, int low, int high) 818IComparer _comparer;
src\Framework\MS\Internal\Data\DataExtensionMethods.cs (3)
26internal static int Search(this IList list, int index, int count, object value, IComparer comparer) 46internal static int Search(this IList list, object value, IComparer comparer) 72internal static void Sort(this IList list, IComparer comparer)
src\Framework\MS\Internal\Data\LiveShapingList.cs (2)
84internal LiveShapingList(ICollectionViewLiveShaping view, LiveShapingFlags flags, IComparer comparer) 791IComparer _comparer; // comparer - for sort/search
src\Framework\MS\Internal\Data\SortFieldComparer.cs (2)
51internal IComparer BaseComparer { get { return _comparer; } } 86internal static void SortHelper(ArrayList al, IComparer comparer)
src\Framework\MS\Internal\SystemXmlHelper.cs (1)
50internal static IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture)
src\Framework\System\Windows\Controls\Grid.cs (7)
3356private static readonly IComparer s_spanPreferredDistributionOrderComparer = new SpanPreferredDistributionOrderComparer(); 3357private static readonly IComparer s_spanMaxDistributionOrderComparer = new SpanMaxDistributionOrderComparer(); 3358private static readonly IComparer s_starDistributionOrderComparer = new StarDistributionOrderComparer(); 3359private static readonly IComparer s_distributionOrderComparer = new DistributionOrderComparer(); 3360private static readonly IComparer s_minRatioComparer = new MinRatioComparer(); 3361private static readonly IComparer s_maxRatioComparer = new MaxRatioComparer(); 3362private static readonly IComparer s_starWeightComparer = new StarWeightComparer();
src\Framework\System\Windows\Data\BindingListCollectionView.cs (4)
136int IComparer.Compare(object o1, object o2) 280private IComparer ActiveComparer 2266IComparer comparer = ActiveComparer; 2568private IComparer _comparer;
src\Framework\System\Windows\Data\CollectionView.cs (2)
742public virtual IComparer Comparer 744get { return this as IComparer; }
src\Framework\System\Windows\Data\ListCollectionView.cs (9)
332int IComparer.Compare(object o1, object o2) 468public IComparer CustomSort 2329protected IComparer ActiveComparer 2461internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<CollectionView> lazyGetCollectionView) 2475IComparer xmlComparer = SystemXmlHelper.PrepareXmlComparer(view.SourceCollection, sort, view.Culture); 2968IComparer comparer = ActiveComparer; 3352private IComparer _activeComparer; 3355private IComparer _customSort;
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (5)
166public static IComparer CompareNameAscending 175public static IComparer CompareNameDescending 275static readonly IComparer _compareNameAscending = new NameComparer(ListSortDirection.Ascending); 276static readonly IComparer _compareNameDescending = new NameComparer(ListSortDirection.Descending); 295int IComparer.Compare(object x, object y)
System (35)
compmod\system\collections\specialized\listdictionary.cs (2)
24IComparer comparer; 37public ListDictionary(IComparer comparer) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (13)
82protected NameObjectCollectionBase(IHashCodeProvider hashProvider, IComparer comparer) { 95protected NameObjectCollectionBase(int capacity, IHashCodeProvider hashProvider, IComparer comparer) { 142info.AddValue(ComparerName, CompatibleComparer.DefaultComparer, typeof(IComparer)); 146info.AddValue(ComparerName, null, typeof(IComparer)); 151info.AddValue(ComparerName, c.Comparer, typeof(IComparer)); 196IComparer comparer = null; 214comparer = (IComparer)info.GetValue(ComparerName, typeof(IComparer)); 752IComparer _comparer; 753static volatile IComparer defaultComparer; 760internal CompatibleComparer(IComparer comparer, IHashCodeProvider hashCodeProvider) { 802public IComparer Comparer { 816public static IComparer DefaultComparer {
compmod\system\collections\specialized\namevaluecollection.cs (2)
61public NameValueCollection(IHashCodeProvider hashProvider, IComparer comparer) 104public NameValueCollection(int capacity, IHashCodeProvider hashProvider, IComparer comparer)
compmod\system\componentmodel\EnumConverter.cs (3)
102/// <para>Gets an <see cref='System.Collections.IComparer'/> 106protected virtual IComparer Comparer { 288IComparer comparer = Comparer;
compmod\system\componentmodel\EventDescriptorCollection.cs (5)
55private IComparer comparer; 92private EventDescriptorCollection(EventDescriptor[] events, int eventCount, string[] namedSort, IComparer comparer) { 338public virtual EventDescriptorCollection Sort(string[] names, IComparer comparer) { 348public virtual EventDescriptorCollection Sort(IComparer comparer) { 406protected void InternalSort(IComparer sorter) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (5)
83private IComparer comparer; 114private PropertyDescriptorCollection(PropertyDescriptor[] properties, int propCount, string[] namedSort, IComparer comparer) { 363public virtual PropertyDescriptorCollection Sort(string[] names, IComparer comparer) { 373public virtual PropertyDescriptorCollection Sort(IComparer comparer) { 431protected void InternalSort(IComparer sorter) {
net\System\Net\cookie.cs (2)
715internal static IComparer GetComparer() { 1619int IComparer.Compare(object ol, object or) {
net\System\Net\cookiecollection.cs (2)
204IComparer comp = Cookie.GetComparer(); 232IComparer comp = Cookie.GetComparer();
net\System\Net\cookiecontainer.cs (1)
963int IComparer.Compare(object ol, object or) {
System.Configuration (2)
System\Configuration\ConfigurationElementCollection.cs (2)
30private IComparer _comparer; 37protected ConfigurationElementCollection(IComparer comparer) {
System.Data.Entity (4)
System\Data\Common\Utils\ByValueEqualityComparer.cs (4)
110internal static readonly IComparer Default = new ByValueComparer(Comparer<object>.Default); 112private readonly IComparer nonByValueComparer; 113private ByValueComparer(IComparer comparer) 119int IComparer.Compare(object x, object y)
System.Data.Linq (2)
SortableBindingList.cs (2)
59private IComparer comparer; 73comparer = (IComparer)defaultComparer.GetValue(null, null);
System.ServiceModel (2)
System\ServiceModel\Configuration\ServiceModelConfigurationElementCollection.cs (1)
37string elementName, IComparer comparer) : base(comparer)
System\ServiceModel\Configuration\XPathMessageFilterElementComparer.cs (1)
17int IComparer.Compare(object x, object y)
System.Web (4)
UI\ControlBuilder.cs (1)
3267int IComparer.Compare(object o1, object o2) {
UI\RootBuilder.cs (1)
99int IComparer.Compare(object x, object y) {
Util\SymbolEqualComparer.cs (2)
27internal static readonly IComparer Default = new SymbolEqualComparer(); 32int IComparer.Compare(object keyLeft, object keyRight) {
System.Web.DataVisualization (1)
Common\General\ChartArea3D.cs (1)
1731 IComparer comparer,
System.Web.Mobile (1)
UI\MobileControls\DeviceSpecificChoice.cs (1)
46private static IComparer _caseInsensitiveComparer =
System.Windows.Forms (26)
winforms\Managed\System\WinForms\AlphaSortedEnumConverter.cs (1)
16protected override IComparer Comparer {
winforms\Managed\System\WinForms\ComboBox.cs (2)
4034private IComparer comparer; 4044private IComparer Comparer {
winforms\Managed\System\WinForms\Control.cs (1)
6784int IComparer.Compare(Object x, Object y) {
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
172internal static IComparer ColumnCollectionOrderComparer
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
2754private IComparer comparer; 2766private IComparer Comparer
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
28189public virtual void Sort(IComparer comparer) 28229private void SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (3)
2472internal void Sort(IComparer customComparer, bool ascending) 2778private IComparer customComparer; 2782public RowComparer(DataGridViewRowCollection dataGridViewRows, IComparer customComparer, bool ascending)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (3)
38private IComparer comparer; 40internal SorterObjectArray(Object[] keys, IComparer comparer) { 114private static void Sort(Object[] array, IComparer comparer) {
winforms\Managed\System\WinForms\LinkLabel.cs (1)
2623int IComparer.Compare(object link1, object link2) {
winforms\Managed\System\WinForms\ListBox.cs (1)
2819int IComparer.Compare(object item1, object item2) {
winforms\Managed\System\WinForms\ListView.cs (3)
195private IComparer listItemSorter = null; 1227public IComparer ListViewItemSorter { 8932IComparer comparer = owner.listItemSorter;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
77protected static IComparer DisplayNameComparer = new DisplayNameSortComparer();
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
2193int IComparer.Compare(object x, object y) {
winforms\Managed\System\WinForms\TreeNode.cs (2)
1109IComparer sorter = parentTreeView.TreeViewNodeSorter; 1169IComparer sorter = parentTreeView.TreeViewNodeSorter;
winforms\Managed\System\WinForms\TreeView.cs (2)
162private IComparer treeViewNodeSorter = null; 1280public IComparer TreeViewNodeSorter {
System.Windows.Forms.DataVisualization (1)
Common\General\ChartArea3D.cs (1)
1731 IComparer comparer,
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
897int IComparer.Compare(object x, object y)
AuthoringOM\Design\Themes.cs (1)
3221int IComparer.Compare(object obj1, object obj2)
System.Xml (8)
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
45public override void AddSort(object expr, IComparer comparer) {
System\Xml\XPath\Internal\SortQuery.cs (6)
92internal void AddSort(Query evalQuery, IComparer comparer) { 137private IComparer[] comparers; 143this.comparers = new IComparer[size]; 147public void AddSort(Query evalQuery, IComparer comparer) { 154IComparer[] newComparers = new IComparer[numSorts * 2];
System\Xml\XPath\XPathExpr.cs (1)
46public abstract void AddSort(object expr, IComparer comparer);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2069int IComparer.Compare(object x, object y) {
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (3)
566int IComparer.Compare(object x, object y) 573return ((IComparer)helper).Compare(g1.Items[0], g2.Items[0]); 624int IComparer.Compare(object x, object y)
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CaseInsensitiveOrdinalStringComparer.cs (1)
37int IComparer.Compare(Object x, Object y)
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (2)
375int IComparer.Compare(object o1, object o2) 558private static IComparer _headerOffsetComparer = new HeaderFileOffsetComparer();
Base\MS\Internal\SystemXmlExtensionMethods.cs (1)
31internal abstract IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture);
Base\System\ComponentModel\GroupDescription.cs (2)
140public IComparer CustomSort 260IComparer _customSort;