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