46 references to Compare
mscorlib (27)
system\collections\caseinsensitivecomparer.cs (1)
75
return m_compareInfo.
Compare
(sa, sb, CompareOptions.IgnoreCase);
system\globalization\compareinfo.cs (1)
404
return (
Compare
(string1, string2, CompareOptions.None));
system\globalization\textinfo.cs (1)
624
CultureInfo.GetCultureInfo(m_textInfoName).CompareInfo.
Compare
("abcdefghijklmnopqrstuvwxyz",
system\resources\manifestbasedresourcegroveler.cs (1)
478
if (comparer.
Compare
(existingName, givenName, CompareOptions.IgnoreCase) == 0)
system\string.cs (19)
603
return (CultureInfo.CurrentCulture.CompareInfo.
Compare
(this, value, CompareOptions.None) == 0);
606
return (CultureInfo.CurrentCulture.CompareInfo.
Compare
(this, value, CompareOptions.IgnoreCase) == 0);
609
return (CultureInfo.InvariantCulture.CompareInfo.
Compare
(this, value, CompareOptions.None) == 0);
612
return (CultureInfo.InvariantCulture.CompareInfo.
Compare
(this, value, CompareOptions.IgnoreCase) == 0);
670
return (CultureInfo.CurrentCulture.CompareInfo.
Compare
(a, b, CompareOptions.None) == 0);
673
return (CultureInfo.CurrentCulture.CompareInfo.
Compare
(a, b, CompareOptions.IgnoreCase) == 0);
676
return (CultureInfo.InvariantCulture.CompareInfo.
Compare
(a, b, CompareOptions.None) == 0);
679
return (CultureInfo.InvariantCulture.CompareInfo.
Compare
(a, b, CompareOptions.IgnoreCase) == 0);
1776
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.None);
1789
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.IgnoreCase);
1791
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.None);
1823
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.None);
1826
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.IgnoreCase);
1829
return CultureInfo.InvariantCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.None);
1832
return CultureInfo.InvariantCulture.CompareInfo.
Compare
(strA, strB, CompareOptions.IgnoreCase);
1868
return culture.CompareInfo.
Compare
(strA, strB, options);
1887
return culture.CompareInfo.
Compare
(strA, strB, CompareOptions.IgnoreCase);
1889
return culture.CompareInfo.
Compare
(strA, strB, CompareOptions.None);
2123
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(this, strB, 0);
system\stringcomparer.cs (4)
168
return _compareInfo.
Compare
(x, y, _options);
176
return (_compareInfo.
Compare
(x, y, _options) == 0);
265
return _compareInfo.
Compare
(x, y, _ignoreCase? CompareOptions.IgnoreCase : CompareOptions.None);
272
return (_compareInfo.
Compare
(x, y, _ignoreCase? CompareOptions.IgnoreCase : CompareOptions.None) == 0);
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextFindEngine.cs (2)
622
return compareInfo.
Compare
(text, pattern, options) == 0;
643
return compareInfo.
Compare
(text, pattern, options) == 0;
System (5)
compmod\system\componentmodel\CultureInfoConverter.cs (1)
302
return compInfo.
Compare
(itemName1, itemName2, CompareOptions.StringSort);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (4)
183
if (comparer.
Compare
(existingName, licResourceName, CompareOptions.IgnoreCase) == 0 ||
184
comparer.
Compare
(existingName, shortAssemblyName + ".exe.licenses", CompareOptions.IgnoreCase) == 0 ||
185
comparer.
Compare
(existingName, shortAssemblyName + ".dll.licenses", CompareOptions.IgnoreCase) == 0) {
233
if (comparer.
Compare
(existingName, name, CompareOptions.IgnoreCase) == 0 ||
System.Data (5)
fx\src\data\System\Data\BaseCollection.cs (1)
75
if (locale.CompareInfo.
Compare
(s1, s2,
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
1864
return (0 == CultureInfo.InvariantCulture.CompareInfo.
Compare
(strvalue, strconst, CompareOptions.IgnoreCase));
2471
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, ADP.compareOptions);
fx\src\data\System\Data\Common\FieldNameLookup.cs (1)
121
if (0 == compareInfo.
Compare
(fieldName, _fieldNames[i], compareOptions)) {
fx\src\data\System\Data\Filter\ExpressionParser.cs (1)
1057
int c = comparer.
Compare
(reservedwords[i].word, name, CompareOptions.IgnoreCase);
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
2037
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, strB, EntityUtil.StringCompareOptions);
System\Data\Common\FieldNameLookup.cs (1)
104
if (0 == compareInfo.
Compare
(fieldName, _fieldNames[i], compareOptions)) {
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
407
int result = cultinfo.CompareInfo.
Compare
(s1, s2, opts);
409
result = -cultinfo.CompareInfo.
Compare
(s1, s2, CompareOptions.None);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ComboBox.cs (1)
4021
return compInfo.
Compare
(itemName1, itemName2, CompareOptions.StringSort);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
3156
return compInfo.
Compare
(itemName1, itemName2, CompareOptions.StringSort);
winforms\Managed\System\WinForms\ListBox.cs (1)
2841
return compInfo.
Compare
(itemName1, itemName2, CompareOptions.StringSort);