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