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