1 instantiation of Watch
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.Linux.cs (1)
291Watch 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>(); 291Watch watch = _wdToWatch.AddOrUpdate(wd, (int watchDescriptor) => new Watch(watchDescriptor), (int watchDescriptor, Watch current) => current); 397void RemoveINotifyWatchWhenNoMoreWatchers(Watch watch, int ignoredFd) 464Watch watch = dir.Watch; 559_wdToWatch.TryGetValue(nextEvent.wd, out Watch? watch); 747static ReadOnlySpan<WatchedDirectory> GetWatchedDirectories(Watch watch, ref WatchedDirectory[] buffer, int offset) 826Watch watch = src.Watch; 1314public Watch Watch { get; } 1320public WatchedDirectory(Watch watch, Watcher watcher, string name, WatchedDirectory? parent)