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