3 implementations of EnqueueWatchingFile
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\FileWatching\DefaultFileChangeWatcher.FileChangeContext.cs (1)
74public IWatchedFile EnqueueWatchingFile(string filePath)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
138public IWatchedFile EnqueueWatchingFile(string filePath)
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
393public IWatchedFile EnqueueWatchingFile(string filePath)
27 references to EnqueueWatchingFile
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
63_projectFileChangeContext.EnqueueWatchingFile(_projectFilePath);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (20)
DefaultFileChangeWatcherTests.cs (19)
75var watchedFile = context.EnqueueWatchingFile(filePath); 90using var watchedFile = context.EnqueueWatchingFile(filePath); 104using var watchedFile = context.EnqueueWatchingFile(filePath); 118using var watchedFile = context.EnqueueWatchingFile(filePath); 133using var watcher1 = context.EnqueueWatchingFile(filePath); 134using var watcher2 = context.EnqueueWatchingFile(filePath); 151using var watchedFile = context.EnqueueWatchingFile(filePath); 166using var watchedFile = context.EnqueueWatchingFile(nonExistentPath); 181using var csWatcher = context.EnqueueWatchingFile(csFilePath); 182using var vbWatcher = context.EnqueueWatchingFile(vbFilePath); 183using var txtWatcher = context.EnqueueWatchingFile(txtFilePath); 204using var watchedFile = context.EnqueueWatchingFile(filePath); 220using var watchedFile = context.EnqueueWatchingFile(filePath); 235using var watchedFile = context.EnqueueWatchingFile(filePath); 250using var watcher1 = context.EnqueueWatchingFile(filePath); 253using var watcher2 = context.EnqueueWatchingFile(filePath); 422using var watchedFile = context.EnqueueWatchingFile(filePath); 447using var watchedFile = context.EnqueueWatchingFile(filePath); 471var watchedFile = context.EnqueueWatchingFile(filePath);
LspFileChangeWatcherTests.cs (1)
91var watchedFile = context.EnqueueWatchingFile("Z:\\SingleFile.txt");
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (1)
128var fileToken = _fileReferenceChangeContext.Value.EnqueueWatchingFile(fullFilePath);
Workspace\ProjectSystem\IFileChangeWatcher.cs (3)
18/// to any files called by <see cref="IFileChangeContext.EnqueueWatchingFile(string)"/>. 21/// This is largely intended as an optimization; consumers should still call <see cref="IFileChangeContext.EnqueueWatchingFile(string)" /> 81/// Raised when a file has been changed. This may be a file watched explicitly by <see cref="EnqueueWatchingFile(string)"/> or it could be any
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
127_project._documentWatchedFiles.Add(documentId, _project._documentFileChangeContext.EnqueueWatchingFile(fullPath));
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\RuleSets\VisualStudioRuleSetManager.RuleSetFile.cs (1)
74_fileChangeContext.EnqueueWatchingFile(include);