8 references to LastIndexOf
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (4)
1074
retVal = (fromBeginning) ? source.IndexOf(value) : source.
LastIndexOf
(value);
1088
retVal = (fromBeginning) ? source.IndexOf(value) : source.
LastIndexOf
(value);
1339
return source.
LastIndexOf
(value);
1351
return source.
LastIndexOf
(value);
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (1)
591
int result = source.AsSpan(startIndex, count).
LastIndexOf
(value);
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
732
LastIndexOf
((ReadOnlySpan<T>)span, value);
System.Text.Json (1)
System\Text\Json\ThrowHelper.Serialization.cs (1)
479
int iPos = message.AsSpan().
LastIndexOf
(" LineNumber: ");
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
462
int i = textSpan.Slice(0, pos).
LastIndexOf
(LeadingPrefix.AsSpan());