11 references to Compare
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\PatternMatcher.cs (1)
437
return _compareInfo.
Compare
(
PresentationFramework (1)
System\Windows\Documents\TextFindEngine.cs (1)
553
if (compareInfo.
Compare
(textString, i, j - i + 1, findPattern, 0, findPattern.Length, options) == 0 &&
System.Data.Common (2)
System\Data\DataTable.cs (1)
2958
return (comparer ?? CompareInfo).
Compare
(s1, 0, leng1, s2, 0, leng2, _compareFlags);
System\Data\SQLTypes\SQLString.cs (1)
403
iCmpResult = x.m_cmpInfo!.
Compare
(x.m_value, 0, cwchX, y.m_value, 0, cwchY, options);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
303
return
Compare
(string1, offset1, length1, string2, offset2, length2, CompareOptions.None);
308
return
Compare
(string1, offset1, string1 == null ? 0 : string1.Length - offset1,
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
2519
return Culture.CompareInfo.
Compare
(string1, offset1, length1, string2, offset2, length2, CompareOptions.IgnoreCase) == 0;
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (4)
332
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, options);
366
return compareCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, options);
410
return CultureInfo.CurrentCulture.CompareInfo.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, GetCaseCompareOfComparisonCulture(comparisonType));
414
return CompareInfo.Invariant.
Compare
(strA, indexA, lengthA, strB, indexB, lengthB, GetCaseCompareOfComparisonCulture(comparisonType));