6 instantiations of Comparer
mscorlib (5)
system\collections\comparer.cs (2)
30public static readonly Comparer Default = new Comparer(CultureInfo.CurrentCulture); 31public static readonly Comparer DefaultInvariant = new Comparer(CultureInfo.InvariantCulture);
system\collections\sortedlist.cs (2)
100comparer = new Comparer(CultureInfo.CurrentCulture); 116comparer = new Comparer(CultureInfo.CurrentCulture);
system\security\permissiontoken.cs (1)
35_caseSensitiveComparer = new Comparer(CultureInfo.InvariantCulture);
PresentationFramework (1)
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
48: new Comparer(culture);
34 references to Comparer
mscorlib (14)
system\array.cs (5)
923if (comparer == null) comparer = Comparer.Default; 924if (comparer == Comparer.Default) { 1750if (comparer == Comparer.Default || comparer == null) { 1942if (comparer == null) comparer = Comparer.Default; 2261if (comparer == null) comparer = Comparer.Default;
system\collections\arraylist.cs (2)
701Sort(0, Count, Comparer.Default); 864comparer = Comparer.Default;
system\collections\caseinsensitivecomparer.cs (1)
77return Comparer.Default.Compare(a,b);
system\collections\comparer.cs (2)
30public static readonly Comparer Default = new Comparer(CultureInfo.CurrentCulture); 31public static readonly Comparer DefaultInvariant = new Comparer(CultureInfo.InvariantCulture);
system\collections\generic\comparer.cs (1)
136return System.Collections.Comparer.Default.Compare(x, y);
system\collections\structuralcomparisons.cs (1)
87return Comparer.Default.Compare(x, y);
system\security\permissiontoken.cs (1)
30private Comparer _caseSensitiveComparer;
system\type.cs (1)
1438IComparer comparer = Comparer.Default;
PresentationFramework (4)
src\Framework\MS\Internal\Data\SortFieldComparer.cs (3)
46_comparer = (culture == null || culture == CultureInfo.InvariantCulture) ? Comparer.DefaultInvariant 47: (culture == CultureInfo.CurrentCulture) ? Comparer.Default 241Comparer _comparer;
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (1)
306int value = Comparer.DefaultInvariant.Compare(xName, yName);
System (3)
misc\invariantcomparer.cs (1)
21return Comparer.Default.Compare(a,b);
services\monitoring\system\diagnosticts\AlphabeticalEnumConverter.cs (1)
34Array.Sort(names, objValues, 0, objValues.Length, System.Collections.Comparer.Default);
services\monitoring\system\diagnosticts\Process.cs (1)
2792return Comparer.Default.Compare(a,b);
System.Drawing (2)
commonui\System\Drawing\FontConverter.cs (1)
608Array.Sort(array, Comparer.Default);
misc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a,b);
System.Messaging (1)
parent\parent\inc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a, b);
System.Web (4)
Configuration\WebBaseEventKeyComparer.cs (1)
46return Comparer.Default.Compare(xType.ToString(), yType.ToString());
parent\parent\parent\misc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a,b);
UI\ControlIdConverter.cs (1)
63array.Sort(Comparer.Default);
UI\ControlPropertyNameConverter.cs (1)
36array.Sort(Comparer.Default);
System.Web.Services (1)
parent\parent\inc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a, b);
System.Windows.Forms (4)
misc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a,b);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (2)
2857result = Comparer.Default.Compare(value1.ToString(), value2.ToString()); 2862result = Comparer.Default.Compare(value1, value2);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
41if (comparer == null) comparer = Comparer.Default;
System.Xml (1)
parent\misc\InvariantComparer.cs (1)
21return Comparer.Default.Compare(a,b);