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