2 implementations of IWatchedFile
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\FileChangeWatcher.cs (2)
517internal sealed class NoOpWatchedFile : IWatchedFile 530public sealed class RegularWatchedFile : IWatchedFile
7 references to IWatchedFile
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (3)
30private readonly Dictionary<PortableExecutableReference, IWatchedFile> _metadataReferenceFileWatchingTokens = new(); 69var fileWatchingToken = _fileReferenceChangeContext.EnqueueWatchingFile(fullFilePath); 81if (!_metadataReferenceFileWatchingTokens.TryGetValue(reference, out var watchedFile))
Workspace\ProjectSystem\IFileChangeWatcher.cs (1)
69IWatchedFile EnqueueWatchingFile(string filePath);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
101private readonly Dictionary<DocumentId, IWatchedFile> _documentWatchedFiles = new();
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\FileChangeWatcher.cs (2)
417public IWatchedFile EnqueueWatchingFile(string filePath) 519public static readonly IWatchedFile Instance = new NoOpWatchedFile();