27 references to Ordinal
mscorlib (17)
system\globalization\compareinfo.cs (14)
374
if (options == CompareOptions.
Ordinal
) { nativeCompareFlags = COMPARE_OPTIONS_ORDINAL; }
382
(options == CompareOptions.
Ordinal
), "[CompareInfo.GetNativeCompareFlags]Expected all flags to be handled");
416
if ((options & CompareOptions.
Ordinal
) != 0)
418
if (options != CompareOptions.
Ordinal
)
506
if ((options & CompareOptions.
Ordinal
) != 0)
508
if (options != CompareOptions.
Ordinal
)
535
if (options == CompareOptions.
Ordinal
)
588
if (options == CompareOptions.
Ordinal
)
642
if (options == CompareOptions.
Ordinal
) {
793
if ((options & ValidIndexMaskOffFlags) != 0 && (options != CompareOptions.
Ordinal
))
846
if ((options & ValidIndexMaskOffFlags) != 0 && (options != CompareOptions.
Ordinal
))
967
(options != CompareOptions.
Ordinal
) &&
1019
(options != CompareOptions.
Ordinal
) &&
1191
if (options == CompareOptions.
Ordinal
)
system\globalization\datetimeparse.cs (1)
4632
if (m_info.Compare(Value, Index, str.Length, str, 0, str.Length, CompareOptions.
Ordinal
)==0) {
system\string.cs (2)
2376
return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.
Ordinal
);
2515
return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.
Ordinal
);
System.Data.SqlXml (7)
System\Xml\Xsl\Runtime\XmlCollation.cs (4)
87
get { return GetFlag((int)CompareOptions.
Ordinal
); }
127
private static XmlCollation cp = new XmlCollation(CultureInfo.InvariantCulture, new Options((int)CompareOptions.
Ordinal
));
177
options.CompareOptions = CompareOptions.
Ordinal
;
238
options.CompareOptions = CompareOptions.
Ordinal
;
System\Xml\Xsl\Runtime\XsltFunctions.cs (3)
42
return compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
) >= 0;
48
int idx = compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
);
55
int idx = compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
);
System.Xml (3)
System\Xml\XPath\Internal\StringFunctions.cs (3)
122
return compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
) >= 0;
129
int idx = compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
);
137
int idx = compareInfo.IndexOf(s1, s2, CompareOptions.
Ordinal
);