1 instantiation of Watch
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.Linux.cs (1)
293Watch watch = _wdToWatch.AddOrUpdate(wd, (int watchDescriptor) => new Watch(watchDescriptor), (int watchDescriptor, Watch current) => current);
11 references to Watch
System.IO.FileSystem.Watcher (11)
System\IO\FileSystemWatcher.Linux.cs (11)
134private readonly ConcurrentDictionary<int, Watch> _wdToWatch = new ConcurrentDictionary<int, Watch>(); 293Watch watch = _wdToWatch.AddOrUpdate(wd, (int watchDescriptor) => new Watch(watchDescriptor), (int watchDescriptor, Watch current) => current); 399void RemoveINotifyWatchWhenNoMoreWatchers(Watch watch, int ignoredFd) 466Watch watch = dir.Watch; 561_wdToWatch.TryGetValue(nextEvent.wd, out Watch? watch); 749static ReadOnlySpan<WatchedDirectory> GetWatchedDirectories(Watch watch, ref WatchedDirectory[] buffer, int offset) 828Watch watch = src.Watch; 1316public Watch Watch { get; } 1322public WatchedDirectory(Watch watch, Watcher watcher, string name, WatchedDirectory? parent)