1 write to _currentSnapshot
Microsoft.DotNet.HotReload.Watch (1)
FileWatcher\PollingDirectoryWatcher.cs (1)
124
(_snapshotBuilder,
_currentSnapshot
) = (_currentSnapshot, _snapshotBuilder);
5 references to _currentSnapshot
Microsoft.DotNet.HotReload.Watch (5)
FileWatcher\PollingDirectoryWatcher.cs (5)
89
Debug.Assert(
_currentSnapshot
.Count == 0);
91
ForeachEntityInDirectory(_watchedDirectory,
_currentSnapshot
.Add);
101
if (!
_currentSnapshot
.TryGetValue(filePath, out var snapshotWriteTime))
113
foreach (var (filePath, _) in
_currentSnapshot
)
124
(_snapshotBuilder, _currentSnapshot) = (
_currentSnapshot
, _snapshotBuilder);