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