7 references to _watchedFiles
Microsoft.CodeAnalysis.LanguageServer (7)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (7)
57
/// A lock to guard updates to <see cref="
_watchedFiles
" />. Using a reader/writer lock since file change notifications can be pretty chatty
110
isFileWatched =
_watchedFiles
.ContainsKey(filePath);
136
_watchedFiles
.TryGetValue(filePath, out var existingWatches);
137
_watchedFiles
[filePath] = existingWatches + 1;
158
var existingWatches =
_watchedFiles
[filePath];
160
_watchedFiles
.Remove(filePath);
162
_watchedFiles
[filePath] = existingWatches - 1;