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;
4 references to Length
System.IO.FileSystem.Watcher (4)
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 (1)
68
/// Does not ensure there is a null char after <see cref="
Length
"/>