10 references to LastIndexOfAny
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataReader.cs (1)
259var index = _currentPrefixBuffer.Span.LastIndexOfAny(".[");
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
259var index = _currentPrefixBuffer.Span.LastIndexOfAny(".[");
Microsoft.Build (1)
Evaluation\Expander\WellKnownFunctions.cs (1)
267returnVal = text.AsSpan().LastIndexOfAny(arg0.AsSpan());
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\NamespaceComputer.cs (2)
102var lastSeparator = span.LastIndexOfAny(PathSeparators); 152var lastSeparatorIndex = relativePath.LastIndexOfAny(PathSeparators);
System.Formats.Tar (2)
System\Formats\Tar\TarHeader.Write.cs (2)
566int lastIdx = pathNameBytes.LastIndexOfAny(PathInternal.Utf8DirectorySeparators); 585lastIdx = prefix.LastIndexOfAny(PathInternal.Utf8DirectorySeparators);
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3069LastIndexOfAny((ReadOnlySpan<T>)span, values);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (2)
595return new ReadOnlySpan<char>(ref _firstChar, Length).LastIndexOfAny(anyOf); 626int result = new ReadOnlySpan<char>(ref Unsafe.Add(ref _firstChar, startSearchAt), count).LastIndexOfAny(anyOf);