2 writes to Length
System.IO.FileSystem.Watcher (2)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
176
sb.
Length
= (i + 3 >= path.Length && s == skip) ? s + 1 : s; // to avoid removing the complete "\tmp\" segment in cases like \\?\C:\tmp\..\, C:\tmp\..
182
sb.
Length
= skip;
10 references to Length
System.IO.FileSystem.Watcher (10)
src\libraries\Common\src\System\IO\PathInternal.cs (3)
172
for (s = sb.
Length
- 1; s >= skip; s--)
201
if (!flippedSeparator && sb.
Length
== path.Length)
207
if (skip != rootLength && sb.
Length
< rootLength)
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';