11 writes to Length
System.Private.Uri (11)
System\Uri.cs (10)
2836dest.Length--; 2871hostBuilder.Length = 0; 2885dest.Length--; 2901dest.Length -= MaxUshortLength - charsWritten; 4326dest.Length = end; 4362dest.Length = start; 4387dest.Length = end; 4408dest.Length = offset + Compress(dest.RawChars.Slice(offset, dest.Length - offset), _syntax); 4421dest.Length = start; 4462dest.Length = start;
System\UriBuilder.cs (1)
364vsb.Length -= MaxUshortLength - charsWritten;
22 references to Length
System.Private.Uri (22)
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)
2875UriHelper.UnescapeString(hostBuilder.Length == 0 ? host : hostBuilder.AsSpan(), 2913if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 4302int start = dest.Length; 4323int end = dest.Length; 4360copy.Append(dest.AsSpan(start, dest.Length - start)); 4365start = dest.Length; 4384int end = dest.Length; 4405if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4408dest.Length = offset + Compress(dest.RawChars.Slice(offset, dest.Length - offset), _syntax); 4419copy.Append(dest.AsSpan(start, dest.Length - start)); 4424start = dest.Length; 4460copy.Append(dest.AsSpan(start, dest.Length - start)); 4465UriHelper.UnescapeString(pCopy, 0, copy.Length,
System\UriHelper.cs (2)
323if (vsb.Length > dest.Length) 331destPosition = vsb.Length;