9 references to AsSpan
System.Private.Uri (9)
System\Uri.cs (5)
2841
ReadOnlySpan<char> hostSlice = hostBuilder.Length == 0 ? host : hostBuilder.
AsSpan
();
2929
return dest.
AsSpan
();
4300
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: true, UriHelper.UnreservedReserved);
4354
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: !IsImplicitFile, UriHelper.UnreservedReservedExceptQuestionMarkHash);
4398
UriHelper.UnescapeString(copy.
AsSpan
(),
System\UriExt.cs (2)
529
string result = string.Concat(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.
AsSpan
());
584
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
());