9 references to AsSpan
System.Private.Uri (9)
System\Uri.cs (5)
2890
ReadOnlySpan<char> hostSlice = hostBuilder.Length == 0 ? host : hostBuilder.
AsSpan
();
2978
return dest.
AsSpan
();
4373
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: true, UriHelper.UnreservedReserved);
4433
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: !IsImplicitFile, UriHelper.UnreservedReservedExceptQuestionMarkHash);
4477
UriHelper.UnescapeString(copy.
AsSpan
(),
System\UriExt.cs (2)
606
string result = string.Concat(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.
AsSpan
());
661
vsb.
AsSpan
().CopyTo(destination.Slice(indexOfFirstToUnescape));
System\UriHelper.cs (2)
178
vsb.
AsSpan
().CopyTo(destination.Slice(indexOfFirstToEscape));
225
string result = string.Concat(charsToEscape.Slice(0, indexOfFirstToEscape), vsb.
AsSpan
());