16 references to LastIndexOf
dotnet (2)
_generated\190\RegexGenerator.g.cs (2)
214(charloop_ending_pos = inputSpan.Slice(charloop_starting_pos, Math.Min(inputSpan.Length, charloop_ending_pos + 3) - charloop_starting_pos).LastIndexOf(" in ")) < 0) 279(charloop_ending_pos1 = inputSpan.Slice(charloop_starting_pos1, Math.Min(inputSpan.Length, charloop_ending_pos1 + 5) - charloop_starting_pos1).LastIndexOf(":line ")) < 0)
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
167var index = buffer.Span.LastIndexOf(s_bodyTagBytes.Span);
Microsoft.Build (2)
_generated\10\RegexGenerator.g.cs (2)
5909(charloop_ending_pos = inputSpan.Slice(charloop_starting_pos, Math.Min(inputSpan.Length, charloop_ending_pos + 1) - charloop_starting_pos).LastIndexOf("?>")) < 0) 6106(charloop_ending_pos = inputSpan.Slice(charloop_starting_pos, Math.Min(inputSpan.Length, charloop_ending_pos + 1) - charloop_starting_pos).LastIndexOf("\")")) < 0)
System.IO.Compression (2)
System\IO\Compression\ZipHelper.Async.cs (1)
59bufferPointer = bufferMemory.Span.LastIndexOf(signatureToFind.Span);
System\IO\Compression\ZipHelper.cs (1)
133bufferPointer = bufferSpan.LastIndexOf(signatureToFind);
System.Private.CoreLib (6)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (1)
592int result = source.AsSpan(startIndex, count).LastIndexOf(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
736LastIndexOf((ReadOnlySpan<T>)span, value);
System.Private.Xml (1)
_generated\0\RegexGenerator.g.cs (1)
1401(charloop_ending_pos = inputSpan.Slice(charloop_starting_pos, Math.Min(inputSpan.Length, charloop_ending_pos + 16) - charloop_starting_pos).LastIndexOf("EnsureArrayIndex(")) < 0)
System.Text.Json (1)
System\Text\Json\ThrowHelper.Serialization.cs (1)
501int iPos = message.AsSpan().LastIndexOf(" LineNumber: ");
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
462int i = textSpan.Slice(0, pos).LastIndexOf(LeadingPrefix.AsSpan());