11 writes to Length
System.Private.Uri (11)
System\Uri.cs (10)
2887dest.Length--; 2922hostBuilder.Length = 0; 2936dest.Length--; 2952dest.Length -= MaxUshortLength - charsWritten; 4362dest.Length = end; 4398dest.Length = start; 4423dest.Length = end; 4444dest.Length = offset + UriHelper.Compress( 4461dest.Length = start; 4502dest.Length = start;
System\UriBuilder.cs (1)
364vsb.Length -= MaxUshortLength - charsWritten;
24 references to Length
System.Private.Uri (24)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
58/// Does not ensure there is a null char after <see cref="Length"/> 70/// <param name="terminate">Ensures that the builder has a null char after <see cref="Length"/></param> 75EnsureCapacity(Length + 1); 76_chars[Length] = '\0'; 103/// <param name="terminate">Ensures that the builder has a null char after <see cref="Length"/></param> 108EnsureCapacity(Length + 1); 109_chars[Length] = '\0';
System\Uri.cs (13)
2926UriHelper.UnescapeString(hostBuilder.Length == 0 ? host : hostBuilder.AsSpan(), 2964if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 4338int start = dest.Length; 4359int end = dest.Length; 4396copy.Append(dest.AsSpan(start, dest.Length - start)); 4401start = dest.Length; 4420int end = dest.Length; 4441if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4445dest.RawChars.Slice(offset, dest.Length - offset), 4459copy.Append(dest.AsSpan(start, dest.Length - start)); 4464start = dest.Length; 4500copy.Append(dest.AsSpan(start, dest.Length - start)); 4505UriHelper.UnescapeString(pCopy, 0, copy.Length,
System\UriExt.cs (1)
661int newLength = indexOfFirstToUnescape + vsb.Length;
System\UriHelper.cs (3)
171int newLength = checked(indexOfFirstToEscape + vsb.Length); 340if (vsb.Length > dest.Length) 348destPosition = vsb.Length;