6 references to ByteSlash
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\PathNormalizer\PathNormalizer.cs (6)
54if (src[nextIndex] == ByteSlash) 63var lastIndex = MemoryMarshal.CreateSpan(ref src[0], writtenLength).LastIndexOf(ByteSlash); 84if (src[nextIndex] == ByteSlash) 87src[writtenLength++] = ByteSlash; 93var lastSlashIndex = MemoryMarshal.CreateSpan(ref src[0], writtenLength).LastIndexOf(ByteSlash); 117src[writtenLength++] = ByteSlash;