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