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