7 references to AsSpan
System.Private.Uri (7)
System\Uri.cs (4)
2875
UriHelper.UnescapeString(hostBuilder.Length == 0 ? host : hostBuilder.
AsSpan
(),
3004
return dest.
AsSpan
();
4364
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: true, UriHelper.UnreservedReserved);
4423
UriHelper.EscapeString(copy.
AsSpan
(), ref dest, checkExistingEscaped: !IsImplicitFile, UriHelper.UnreservedReservedExceptQuestionMarkHash);
System\UriExt.cs (1)
615
string result = string.Concat(charsToUnescape.Slice(0, indexOfFirstToUnescape), vsb.
AsSpan
());
System\UriHelper.cs (2)
210
string result = string.Concat(charsToEscape.Slice(0, indexOfFirstToEscape), vsb.
AsSpan
());
325
dest = vsb.
AsSpan
().ToArray();