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;
10 references to Length
System.IO.FileSystem.Watcher (10)
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 (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';