82 references to IgnoreCase
mscorlib (50)
system\collections\caseinsensitivecomparer.cs (1)
75
return m_compareInfo.Compare(sa, sb, CompareOptions.
IgnoreCase
);
system\globalization\compareinfo.cs (6)
81
~(CompareOptions.
IgnoreCase
| CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace |
86
~(CompareOptions.
IgnoreCase
| CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace |
91
~(CompareOptions.
IgnoreCase
| CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace |
366
if ((options & CompareOptions.
IgnoreCase
) != 0) { nativeCompareFlags |= NORM_IGNORECASE; }
376
Contract.Assert(((options & ~(CompareOptions.
IgnoreCase
|
1087
const CompareOptions ValidSortkeyCtorMaskOffFlags = ~(CompareOptions.
IgnoreCase
|
system\globalization\datetimeformatinfo.cs (4)
755
if (String.Compare(eraName, m_eraNames[i], this.Culture, CompareOptions.
IgnoreCase
)==0) {
762
if (String.Compare(eraName, m_abbrevEraNames[i], this.Culture, CompareOptions.
IgnoreCase
)==0) {
2813
if (String.Compare(str.Value, str.Index, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.
IgnoreCase
)==0) {
2916
if (String.Compare(str, 0, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.
IgnoreCase
) == 0) {
system\globalization\datetimeparse.cs (5)
423
target, 0, length, CompareOptions.
IgnoreCase
)!=0) {
4547
return (m_info.Compare(Value, Index, count, target, 0, count, CompareOptions.
IgnoreCase
)==0);
4556
if (matchLength > valueRemaining || m_info.Compare(Value, Index, matchLength, target, 0, matchLength, CompareOptions.
IgnoreCase
) !=0) {
4578
if (m_info.Compare(Value, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.
IgnoreCase
) !=0) {
4600
if (m_info.Compare(Value, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.
IgnoreCase
) !=0) {
system\globalization\textinfo.cs (1)
626
CompareOptions.
IgnoreCase
) == 0 ? Tristate.True : Tristate.False;
system\resources\manifestbasedresourcegroveler.cs (1)
478
if (comparer.Compare(existingName, givenName, CompareOptions.
IgnoreCase
) == 0)
system\string.cs (24)
606
return (CultureInfo.CurrentCulture.CompareInfo.Compare(this, value, CompareOptions.
IgnoreCase
) == 0);
612
return (CultureInfo.InvariantCulture.CompareInfo.Compare(this, value, CompareOptions.
IgnoreCase
) == 0);
673
return (CultureInfo.CurrentCulture.CompareInfo.Compare(a, b, CompareOptions.
IgnoreCase
) == 0);
679
return (CultureInfo.InvariantCulture.CompareInfo.Compare(a, b, CompareOptions.
IgnoreCase
) == 0);
1789
return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.
IgnoreCase
);
1826
return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.
IgnoreCase
);
1832
return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, strB, CompareOptions.
IgnoreCase
);
1887
return culture.CompareInfo.Compare(strA, strB, CompareOptions.
IgnoreCase
);
1938
return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.
IgnoreCase
);
1971
return culture.CompareInfo.Compare(strA,indexA,lengthA, strB, indexB, lengthB,CompareOptions.
IgnoreCase
);
2074
return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.
IgnoreCase
);
2080
return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.
IgnoreCase
);
2212
return CultureInfo.CurrentCulture.CompareInfo.IsSuffix(this, value, CompareOptions.
IgnoreCase
);
2218
return CultureInfo.InvariantCulture.CompareInfo.IsSuffix(this, value, CompareOptions.
IgnoreCase
);
2248
return referenceCulture.CompareInfo.IsSuffix(this, value, ignoreCase ? CompareOptions.
IgnoreCase
: CompareOptions.None);
2367
return CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2373
return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2380
return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2507
return CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2513
return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2519
return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.
IgnoreCase
);
2592
return CultureInfo.CurrentCulture.CompareInfo.IsPrefix(this, value, CompareOptions.
IgnoreCase
);
2598
return CultureInfo.InvariantCulture.CompareInfo.IsPrefix(this, value, CompareOptions.
IgnoreCase
);
2635
return referenceCulture.CompareInfo.IsPrefix(this, value, ignoreCase ? CompareOptions.
IgnoreCase
: CompareOptions.None);
system\stringcomparer.cs (8)
144
_options = ignoreCase ? CompareOptions.
IgnoreCase
: CompareOptions.None;
150
_options = ignoreCase ? CompareOptions.
IgnoreCase
: CompareOptions.None;
159
_ignoreCase = ((options & CompareOptions.
IgnoreCase
) == CompareOptions.
IgnoreCase
||
220
_options |= _ignoreCase ? CompareOptions.
IgnoreCase
: CompareOptions.None;
265
return _compareInfo.Compare(x, y, _ignoreCase? CompareOptions.
IgnoreCase
: CompareOptions.None);
272
return (_compareInfo.Compare(x, y, _ignoreCase? CompareOptions.
IgnoreCase
: CompareOptions.None) == 0);
284
options |= CompareOptions.
IgnoreCase
;
PresentationFramework (3)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
265
compareOptions |= CompareOptions.
IgnoreCase
;
src\Framework\System\Windows\Documents\TextFindEngine.cs (2)
426
CompareOptions options = ignoreCase ? CompareOptions.
IgnoreCase
: 0;
560
CompareOptions options = CompareOptions.IgnoreNonSpace | (ignoreCase ? CompareOptions.
IgnoreCase
: 0);
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
3411
&& -1 != CultureInfo.InvariantCulture.CompareInfo.IndexOf(options.CompilerOptions,"/debug:pdbonly", CompareOptions.
IgnoreCase
))
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 ||
net\System\Net\HttpListenerRequest.cs (1)
1227
i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.
IgnoreCase
);
System.Data (9)
fx\src\data\System\Data\BaseCollection.cs (1)
76
CompareOptions.
IgnoreCase
| CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth) == 0) {
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
1842
internal const CompareOptions compareOptions = CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.
IgnoreCase
;
1864
return (0 == CultureInfo.InvariantCulture.CompareInfo.Compare(strvalue, strconst, CompareOptions.
IgnoreCase
));
fx\src\data\System\Data\Common\FieldNameLookup.cs (1)
99
index = LinearIndexOf(fieldName, CompareOptions.
IgnoreCase
);
fx\src\data\System\Data\DataTable.cs (2)
85
private CompareOptions _compareFlags = CompareOptions.
IgnoreCase
| CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth;
958
_compareFlags = CompareOptions.
IgnoreCase
| CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth;
fx\src\data\System\Data\Filter\ExpressionParser.cs (1)
1057
int c = comparer.Compare(reservedwords[i].word, name, CompareOptions.
IgnoreCase
);
fx\src\data\System\Data\SQLTypes\SQLString.cs (2)
100
CompareOptions.
IgnoreCase
| CompareOptions.IgnoreWidth |
757
options |= CompareOptions.
IgnoreCase
;
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
37
internal const CompareOptions StringCompareOptions = CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.
IgnoreCase
;
System\Data\Common\FieldNameLookup.cs (1)
82
index = LinearIndexOf(fieldName, CompareOptions.
IgnoreCase
);
System.Data.SqlXml (5)
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
83
get { return GetFlag((int)CompareOptions.
IgnoreCase
); }
208
case "IGNORECASE": flag = (int)CompareOptions.
IgnoreCase
; break;
System\Xml\Xsl\Runtime\XsltFunctions.cs (3)
388
opts = CompareOptions.
IgnoreCase
| CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth;
395
opts = CompareOptions.
IgnoreCase
;
404
opts = CompareOptions.
IgnoreCase
;
System.Web (6)
Compilation\AssemblyBuilder.cs (2)
864
if (CultureInfo.InvariantCulture.CompareInfo.IndexOf(compilParams.CompilerOptions, "/warnaserror", CompareOptions.
IgnoreCase
) >= 0)
1137
"partial class", CompareOptions.
IgnoreCase
);
HttpRequest.cs (1)
842
i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.
IgnoreCase
);
MultipartContentParser.cs (3)
145
int i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.
IgnoreCase
);
148
i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.
IgnoreCase
);
151
i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.
IgnoreCase
);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListView.cs (1)
3204
} else if (isPrefixSearch && CultureInfo.CurrentCulture.CompareInfo.IsPrefix(lvsi.Text, text, CompareOptions.
IgnoreCase
)) {