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
120
isFileWatched =
_watchedFiles
.ContainsKey(filePath);
146
_watchedFiles
.TryGetValue(filePath, out var existingWatches);
147
_watchedFiles
[filePath] = existingWatches + 1;
168
var existingWatches =
_watchedFiles
[filePath];
170
_watchedFiles
.Remove(filePath);
172
_watchedFiles
[filePath] = existingWatches - 1;