11 writes to Length
System.Private.Uri (11)
System\Uri.cs (10)
2836
dest.
Length
--;
2871
hostBuilder.
Length
= 0;
2885
dest.
Length
--;
2901
dest.
Length
-= MaxUshortLength - charsWritten;
4326
dest.
Length
= end;
4362
dest.
Length
= start;
4387
dest.
Length
= end;
4408
dest.
Length
= offset + Compress(dest.RawChars.Slice(offset, dest.Length - offset), _syntax);
4421
dest.
Length
= start;
4462
dest.
Length
= start;
System\UriBuilder.cs (1)
364
vsb.
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>
75
EnsureCapacity(
Length
+ 1);
76
_chars[
Length
] = '\0';
103
/// <param name="terminate">Ensures that the builder has a null char after <see cref="
Length
"/></param>
108
EnsureCapacity(
Length
+ 1);
109
_chars[
Length
] = '\0';
System\Uri.cs (13)
2875
UriHelper.UnescapeString(hostBuilder.
Length
== 0 ? host : hostBuilder.AsSpan(),
2913
if (InFact(Flags.AuthorityFound) && dest.
Length
!= 0 && dest[0] == '/')
4302
int start = dest.
Length
;
4323
int end = dest.
Length
;
4360
copy.Append(dest.AsSpan(start, dest.
Length
- start));
4365
start = dest.
Length
;
4384
int end = dest.
Length
;
4405
if (InFact(Flags.ShouldBeCompressed) && dest.
Length
- offset > 0)
4408
dest.Length = offset + Compress(dest.RawChars.Slice(offset, dest.
Length
- offset), _syntax);
4419
copy.Append(dest.AsSpan(start, dest.
Length
- start));
4424
start = dest.
Length
;
4460
copy.Append(dest.AsSpan(start, dest.
Length
- start));
4465
UriHelper.UnescapeString(pCopy, 0, copy.
Length
,
System\UriHelper.cs (2)
323
if (vsb.
Length
> dest.Length)
331
destPosition = vsb.
Length
;