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