21 references to Compare
mscorlib (18)
system\globalization\compareinfo.cs (2)
461
return
Compare
(string1, offset1, length1, string2, offset2, length2, 0);
467
return
Compare
(string1, offset1, string1 == null ? 0 : string1.Length-offset1,
system\globalization\datetimeparse.cs (6)
422
if (str.CompareInfo.
Compare
(str.Value, str.Index, length,
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) {
4632
if (m_info.
Compare
(Value, Index, str.Length, str, 0, str.Length, CompareOptions.Ordinal)==0) {
system\string.cs (10)
1912
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
1938
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase);
1940
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
1971
return culture.CompareInfo.
Compare
(strA,indexA,lengthA, strB, indexB, lengthB,CompareOptions.IgnoreCase);
1973
return culture.CompareInfo.
Compare
(strA,indexA,lengthA, strB, indexB, lengthB,CompareOptions.None);
2004
return culture.CompareInfo.
Compare
(strA,indexA,lengthA, strB, indexB, lengthB, options);
2071
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
2074
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase);
2077
return CultureInfo.InvariantCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
2080
return CultureInfo.InvariantCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase);
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
568
if (compareInfo.
Compare
(textString, i, j - i + 1, findPattern, 0, findPattern.Length, options) == 0 &&
System.Data (2)
fx\src\data\System\Data\DataTable.cs (1)
2716
return (comparer ?? this.CompareInfo).
Compare
(s1, 0, leng1, s2, 0, leng2, _compareFlags);
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
453
iCmpResult = x.m_cmpInfo.
Compare
(x.m_value, 0, cwchX, y.m_value, 0, cwchY, options);