8 references to IndexOf
Microsoft.Build (2)
Evaluation\Expander.cs (2)
1347
else if ((expression.Length - (propertyStartIndex + 2)) > 9 && tryExtractRegistryFunction && s_invariantCompareInfo.
IndexOf
(expression, "Registry:", propertyStartIndex + 2, 9, CompareOptions.OrdinalIgnoreCase) == propertyStartIndex + 2)
1358
else if ((propertyEndIndex - (propertyStartIndex + 2)) == 77 && s_invariantCompareInfo.
IndexOf
(expression, @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\VSTSDB@VSTSDBDirectory", propertyStartIndex + 2, 77, CompareOptions.OrdinalIgnoreCase) == propertyStartIndex + 2)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Strings.vb (1)
864
iIndex = cmpInfo.
IndexOf
(sSrc, sFind, iLastIndex, iSrcLen - iLastIndex, flags)
PresentationFramework (1)
System\Windows\Documents\TextFindEngine.cs (1)
422
compareInfo.
IndexOf
(textString, findPattern, searchStart, searchLength, options);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
853
return
IndexOf
(source, value, startIndex, source.Length - startIndex, options);
863
return
IndexOf
(source, value, startIndex, count, CompareOptions.None);
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (2)
281
StringComparison.CurrentCulture or StringComparison.CurrentCultureIgnoreCase => CultureInfo.CurrentCulture.CompareInfo.
IndexOf
(this, value, startIndex, count, GetCaseCompareOfComparisonCulture(comparisonType)),
282
StringComparison.InvariantCulture or StringComparison.InvariantCultureIgnoreCase => CompareInfo.Invariant.
IndexOf
(this, value, startIndex, count, GetCaseCompareOfComparisonCulture(comparisonType)),