294 references to CompareOptions
mscorlib (187)
system\collections\caseinsensitivecomparer.cs (1)
75return m_compareInfo.Compare(sa, sb, CompareOptions.IgnoreCase);
system\globalization\compareinfo.cs (101)
80private const CompareOptions ValidIndexMaskOffFlags = 81~(CompareOptions.IgnoreCase | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace | 82CompareOptions.IgnoreWidth | CompareOptions.IgnoreKanaType); 85private const CompareOptions ValidCompareMaskOffFlags = 86~(CompareOptions.IgnoreCase | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace | 87CompareOptions.IgnoreWidth | CompareOptions.IgnoreKanaType | CompareOptions.StringSort); 90private const CompareOptions ValidHashCodeOfStringMaskOffFlags = 91~(CompareOptions.IgnoreCase | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace | 92CompareOptions.IgnoreWidth | CompareOptions.IgnoreKanaType); 355internal static int GetNativeCompareFlags(CompareOptions options) 361Contract.Assert(options != CompareOptions.OrdinalIgnoreCase, "[CompareInfo.GetNativeCompareFlags]CompareOptions.OrdinalIgnoreCase should be handled separately"); 366if ((options & CompareOptions.IgnoreCase) != 0) { nativeCompareFlags |= NORM_IGNORECASE; } 367if ((options & CompareOptions.IgnoreKanaType) != 0) { nativeCompareFlags |= NORM_IGNOREKANATYPE; } 368if ((options & CompareOptions.IgnoreNonSpace) != 0) { nativeCompareFlags |= NORM_IGNORENONSPACE; } 369if ((options & CompareOptions.IgnoreSymbols) != 0) { nativeCompareFlags |= NORM_IGNORESYMBOLS; } 370if ((options & CompareOptions.IgnoreWidth) != 0) { nativeCompareFlags |= NORM_IGNOREWIDTH; } 371if ((options & CompareOptions.StringSort) != 0) { nativeCompareFlags |= SORT_STRINGSORT; } 374if (options == CompareOptions.Ordinal) { nativeCompareFlags = COMPARE_OPTIONS_ORDINAL; } 376Contract.Assert(((options & ~(CompareOptions.IgnoreCase | 377CompareOptions.IgnoreKanaType | 378CompareOptions.IgnoreNonSpace | 379CompareOptions.IgnoreSymbols | 380CompareOptions.IgnoreWidth | 381CompareOptions.StringSort)) == 0) || 382(options == CompareOptions.Ordinal), "[CompareInfo.GetNativeCompareFlags]Expected all flags to be handled"); 404return (Compare(string1, string2, CompareOptions.None)); 408public unsafe virtual int Compare(String string1, String string2, CompareOptions options){ 410if (options == CompareOptions.OrdinalIgnoreCase) 416if ((options & CompareOptions.Ordinal) != 0) 418if (options != CompareOptions.Ordinal) 465public unsafe virtual int Compare(String string1, int offset1, String string2, int offset2, CompareOptions options) 479public unsafe virtual int Compare(String string1, int offset1, int length1, String string2, int offset2, int length2, CompareOptions options) 481if (options == CompareOptions.OrdinalIgnoreCase) 506if ((options & CompareOptions.Ordinal) != 0) 508if (options != CompareOptions.Ordinal) 535if (options == CompareOptions.Ordinal) 569public unsafe virtual bool IsPrefix(String source, String prefix, CompareOptions options) 583if (options == CompareOptions.OrdinalIgnoreCase) 588if (options == CompareOptions.Ordinal) 624public unsafe virtual bool IsSuffix(String source, String suffix, CompareOptions options) 638if (options == CompareOptions.OrdinalIgnoreCase) { 642if (options == CompareOptions.Ordinal) { 684return IndexOf(source, value, 0, source.Length, CompareOptions.None); 694return IndexOf(source, value, 0, source.Length, CompareOptions.None); 698public unsafe virtual int IndexOf(String source, char value, CompareOptions options) 708public unsafe virtual int IndexOf(String source, String value, CompareOptions options) 724return IndexOf(source, value, startIndex, source.Length - startIndex, CompareOptions.None); 734return IndexOf(source, value, startIndex, source.Length - startIndex, CompareOptions.None); 738public unsafe virtual int IndexOf(String source, char value, int startIndex, CompareOptions options) 748public unsafe virtual int IndexOf(String source, String value, int startIndex, CompareOptions options) 760return IndexOf(source, value, startIndex, count, CompareOptions.None); 766return IndexOf(source, value, startIndex, count, CompareOptions.None); 772public unsafe virtual int IndexOf(String source, char value, int startIndex, int count, CompareOptions options) 785if (options == CompareOptions.OrdinalIgnoreCase) 793if ((options & ValidIndexMaskOffFlags) != 0 && (options != CompareOptions.Ordinal)) 806public unsafe virtual int IndexOf(String source, String value, int startIndex, int count, CompareOptions options) 839if (options == CompareOptions.OrdinalIgnoreCase) 846if ((options & ValidIndexMaskOffFlags) != 0 && (options != CompareOptions.Ordinal)) 879source.Length, CompareOptions.None); 891source.Length, CompareOptions.None); 895public virtual int LastIndexOf(String source, char value, CompareOptions options) 906public unsafe virtual int LastIndexOf(String source, String value, CompareOptions options) 920return LastIndexOf(source, value, startIndex, startIndex + 1, CompareOptions.None); 926return LastIndexOf(source, value, startIndex, startIndex + 1, CompareOptions.None); 930public unsafe virtual int LastIndexOf(String source, char value, int startIndex, CompareOptions options) 936public unsafe virtual int LastIndexOf(String source, String value, int startIndex, CompareOptions options) 944return LastIndexOf(source, value, startIndex, count, CompareOptions.None); 950return LastIndexOf(source, value, startIndex, count, CompareOptions.None); 957public unsafe virtual int LastIndexOf(String source, char value, int startIndex, int count, CompareOptions options) 967(options != CompareOptions.Ordinal) && 968(options != CompareOptions.OrdinalIgnoreCase)) 991if (options == CompareOptions.OrdinalIgnoreCase) 1007public unsafe virtual int LastIndexOf(String source, String value, int startIndex, int count, CompareOptions options) 1019(options != CompareOptions.Ordinal) && 1020(options != CompareOptions.OrdinalIgnoreCase)) 1047if (options == CompareOptions.OrdinalIgnoreCase) 1069public unsafe virtual SortKey GetSortKey(String source, CompareOptions options) 1077return CreateSortKey(source, CompareOptions.None); 1081private SortKey CreateSortKey(String source, CompareOptions options) 1087const CompareOptions ValidSortkeyCtorMaskOffFlags = ~(CompareOptions.IgnoreCase | 1088CompareOptions.IgnoreSymbols | 1089CompareOptions.IgnoreNonSpace | 1090CompareOptions.IgnoreWidth | 1091CompareOptions.IgnoreKanaType | 1092CompareOptions.StringSort); 1184public virtual int GetHashCode(string source, CompareOptions options) 1191if (options == CompareOptions.Ordinal) 1196if (options == CompareOptions.OrdinalIgnoreCase) 1233internal int GetHashCodeOfString(string source, CompareOptions options) 1239internal int GetHashCodeOfString(string source, CompareOptions options, bool forceRandomizedHashing, long additionalEntropy)
system\globalization\datetimeformatinfo.cs (4)
755if (String.Compare(eraName, m_eraNames[i], this.Culture, CompareOptions.IgnoreCase)==0) { 762if (String.Compare(eraName, m_abbrevEraNames[i], this.Culture, CompareOptions.IgnoreCase)==0) { 2813if (String.Compare(str.Value, str.Index, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.IgnoreCase)==0) { 2916if (String.Compare(str, 0, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.IgnoreCase) == 0) {
system\globalization\datetimeparse.cs (6)
423target, 0, length, CompareOptions.IgnoreCase)!=0) { 4547return (m_info.Compare(Value, Index, count, target, 0, count, CompareOptions.IgnoreCase)==0); 4556if (matchLength > valueRemaining || m_info.Compare(Value, Index, matchLength, target, 0, matchLength, CompareOptions.IgnoreCase) !=0) { 4578if (m_info.Compare(Value, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.IgnoreCase) !=0) { 4600if (m_info.Compare(Value, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.IgnoreCase) !=0) { 4632if (m_info.Compare(Value, Index, str.Length, str, 0, str.Length, CompareOptions.Ordinal)==0) {
system\globalization\sortkey.cs (2)
43internal CompareOptions options; // options 52internal SortKey(String localeName, String str, CompareOptions options, byte[] keyData)
system\globalization\textinfo.cs (1)
626CompareOptions.IgnoreCase) == 0 ? Tristate.True : Tristate.False;
system\resources\manifestbasedresourcegroveler.cs (1)
478if (comparer.Compare(existingName, givenName, CompareOptions.IgnoreCase) == 0)
system\string.cs (52)
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); 1862public static int Compare(String strA, String strB, CultureInfo culture, CompareOptions options) { 1887return culture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreCase); 1889return culture.CompareInfo.Compare(strA, strB, CompareOptions.None); 1912return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None); 1938return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase); 1940return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None); 1971return culture.CompareInfo.Compare(strA,indexA,lengthA, strB, indexB, lengthB,CompareOptions.IgnoreCase); 1973return culture.CompareInfo.Compare(strA,indexA,lengthA, strB, indexB, lengthB,CompareOptions.None); 1983public static int Compare(String strA, int indexA, String strB, int indexB, int length, CultureInfo culture, CompareOptions options) { 2071return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None); 2074return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase); 2077return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None); 2080return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase); 2209return CultureInfo.CurrentCulture.CompareInfo.IsSuffix(this, value, CompareOptions.None); 2212return CultureInfo.CurrentCulture.CompareInfo.IsSuffix(this, value, CompareOptions.IgnoreCase); 2215return CultureInfo.InvariantCulture.CompareInfo.IsSuffix(this, value, CompareOptions.None); 2218return CultureInfo.InvariantCulture.CompareInfo.IsSuffix(this, value, CompareOptions.IgnoreCase); 2248return referenceCulture.CompareInfo.IsSuffix(this, value, ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None); 2364return CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.None); 2367return CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2370return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.None); 2373return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2376return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.Ordinal); 2380return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2504return CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.None); 2507return CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2510return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.None); 2513return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2515return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.Ordinal); 2519return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2589return CultureInfo.CurrentCulture.CompareInfo.IsPrefix(this, value, CompareOptions.None); 2592return CultureInfo.CurrentCulture.CompareInfo.IsPrefix(this, value, CompareOptions.IgnoreCase); 2595return CultureInfo.InvariantCulture.CompareInfo.IsPrefix(this, value, CompareOptions.None); 2598return CultureInfo.InvariantCulture.CompareInfo.IsPrefix(this, value, CompareOptions.IgnoreCase); 2635return referenceCulture.CompareInfo.IsPrefix(this, value, ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None);
system\stringcomparer.cs (19)
138[OptionalField] private CompareOptions _options; 144_options = ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None; 150_options = ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None; 153internal CultureAwareComparer(CompareInfo compareInfo, CompareOptions options) { 159_ignoreCase = ((options & CompareOptions.IgnoreCase) == CompareOptions.IgnoreCase || 160(options & CompareOptions.OrdinalIgnoreCase ) == CompareOptions.OrdinalIgnoreCase); 220_options |= _ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None; 265return _compareInfo.Compare(x, y, _ignoreCase? CompareOptions.IgnoreCase : CompareOptions.None); 272return (_compareInfo.Compare(x, y, _ignoreCase? CompareOptions.IgnoreCase : CompareOptions.None) == 0); 281CompareOptions options = CompareOptions.None; 284options |= CompareOptions.IgnoreCase;
PresentationFramework (20)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (7)
74CompareOptions compareOptions = _InitializeSearch(cultureInfo, matchCase, matchAlefHamza, matchDiacritics, ref findPattern, out replaceAlefWithAlefHamza); 231CompareOptions compareOptions) 253private static CompareOptions _InitializeSearch (CultureInfo cultureInfo, 260CompareOptions compareOptions = CompareOptions.None; 265compareOptions |= CompareOptions.IgnoreCase; 289compareOptions |= CompareOptions.IgnoreNonSpace;
src\Framework\System\Windows\Documents\TextFindEngine.cs (13)
426CompareOptions options = ignoreCase ? CompareOptions.IgnoreCase : 0; 560CompareOptions options = CompareOptions.IgnoreNonSpace | (ignoreCase ? CompareOptions.IgnoreCase : 0); 612const CompareOptions options = CompareOptions.IgnoreSymbols | CompareOptions.StringSort | CompareOptions.IgnoreNonSpace; 628const CompareOptions options = CompareOptions.IgnoreSymbols | CompareOptions.StringSort | CompareOptions.IgnoreNonSpace;
System (7)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
3411&& -1 != CultureInfo.InvariantCulture.CompareInfo.IndexOf(options.CompilerOptions,"/debug:pdbonly", CompareOptions.IgnoreCase))
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 ||
net\System\Net\HttpListenerRequest.cs (1)
1227i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.IgnoreCase);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
497return (0 == string.Compare(value, 0, nameDefaultPrefix, 0, nameDefaultPrefix.Length, CultureInfo.CurrentCulture, CompareOptions.None));
System.Data (35)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
497return (0 == string.Compare(value, 0, nameDefaultPrefix, 0, nameDefaultPrefix.Length, CultureInfo.CurrentCulture, CompareOptions.None));
fx\src\data\System\Data\BaseCollection.cs (3)
76CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth) == 0) {
fx\src\data\System\Data\Common\AdapterUtil.cs (5)
1842internal const CompareOptions compareOptions = CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.IgnoreCase; 1864return (0 == CultureInfo.InvariantCulture.CompareInfo.Compare(strvalue, strconst, CompareOptions.IgnoreCase));
fx\src\data\System\Data\Common\FieldNameLookup.cs (2)
99index = LinearIndexOf(fieldName, CompareOptions.IgnoreCase); 108private int LinearIndexOf(string fieldName, CompareOptions compareOptions) {
fx\src\data\System\Data\DataTable.cs (8)
85private CompareOptions _compareFlags = CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth; 955_compareFlags = CompareOptions.None; 958_compareFlags = CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth;
fx\src\data\System\Data\Filter\ExpressionParser.cs (1)
1057int c = comparer.Compare(reservedwords[i].word, name, CompareOptions.IgnoreCase);
fx\src\data\System\Data\SQLTypes\SQLString.cs (15)
99private static readonly CompareOptions x_iValidCompareOptionMask = 100CompareOptions.IgnoreCase | CompareOptions.IgnoreWidth | 101CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreKanaType; 451CompareOptions options = CompareOptionsFromSqlCompareOptions(x.m_flag); 748public static CompareOptions CompareOptionsFromSqlCompareOptions(SqlCompareOptions compareOptions) { 749CompareOptions options = CompareOptions.None; 757options |= CompareOptions.IgnoreCase; 759options |= CompareOptions.IgnoreNonSpace; 761options |= CompareOptions.IgnoreKanaType; 763options |= CompareOptions.IgnoreWidth; 979CompareOptions options; 989options = CompareOptions.None;
System.Data.Entity (6)
System\Data\Common\EntityUtil.cs (4)
37internal const CompareOptions StringCompareOptions = CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.IgnoreCase;
System\Data\Common\FieldNameLookup.cs (2)
82index = LinearIndexOf(fieldName, CompareOptions.IgnoreCase); 91private int LinearIndexOf(string fieldName, CompareOptions compareOptions) {
System.Data.SqlXml (25)
System\Xml\Xsl\Runtime\XmlCollation.cs (13)
39private CompareOptions compops; 83get { return GetFlag((int)CompareOptions.IgnoreCase); } 87get { return GetFlag((int)CompareOptions.Ordinal); } 90public CompareOptions CompareOptions { 92return (CompareOptions)(value & ~Mask); 127private static XmlCollation cp = new XmlCollation(CultureInfo.InvariantCulture, new Options((int)CompareOptions.Ordinal)); 177options.CompareOptions = CompareOptions.Ordinal; 208case "IGNORECASE": flag = (int)CompareOptions.IgnoreCase; break; 209case "IGNORENONSPACE": flag = (int)CompareOptions.IgnoreNonSpace; break; 210case "IGNORESYMBOLS": flag = (int)CompareOptions.IgnoreSymbols; break; 211case "IGNOREKANATYPE": flag = (int)CompareOptions.IgnoreKanaType; break; 212case "IGNOREWIDTH": flag = (int)CompareOptions.IgnoreWidth; break; 238options.CompareOptions = CompareOptions.Ordinal;
System\Xml\Xsl\Runtime\XsltFunctions.cs (12)
42return compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal) >= 0; 48int idx = compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal); 55int idx = compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal); 383CompareOptions opts = CompareOptions.None; 388opts = CompareOptions.IgnoreCase | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth; 395opts = CompareOptions.IgnoreCase; 401if (opts != CompareOptions.None) { 404opts = CompareOptions.IgnoreCase; 409result = -cultinfo.CompareInfo.Compare(s1, s2, CompareOptions.None);
System.Web (6)
Compilation\AssemblyBuilder.cs (2)
864if (CultureInfo.InvariantCulture.CompareInfo.IndexOf(compilParams.CompilerOptions, "/warnaserror", CompareOptions.IgnoreCase) >= 0) 1137"partial class", CompareOptions.IgnoreCase);
HttpRequest.cs (1)
842i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.IgnoreCase);
MultipartContentParser.cs (3)
145int i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase); 148i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase); 151i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase);
System.Windows.Forms (4)
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);
winforms\Managed\System\WinForms\ListView.cs (1)
3204} else if (isPrefixSearch && CultureInfo.CurrentCulture.CompareInfo.IsPrefix(lvsi.Text, text, CompareOptions.IgnoreCase)) {
System.Xml (3)
System\Xml\XPath\Internal\StringFunctions.cs (3)
122return compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal) >= 0; 129int idx = compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal); 137int idx = compareInfo.IndexOf(s1, s2, CompareOptions.Ordinal);