1 implementation of IWatchedFile
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\IFileChangeWatcher.cs (1)
101internal sealed class NoOpWatchedFile : IWatchedFile
6 references to IWatchedFile
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
LspFileChangeWatcherTests.cs (1)
91var watchedFile = context.EnqueueWatchingFile("Z:\\SingleFile.txt");
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (2)
37private readonly Dictionary<string, (IWatchedFile Token, int RefCount)> _referenceFileWatchingTokens = []; 128var fileToken = _fileReferenceChangeContext.Value.EnqueueWatchingFile(fullFilePath);
Workspace\ProjectSystem\IFileChangeWatcher.cs (2)
90IWatchedFile EnqueueWatchingFile(string filePath); 103public static readonly IWatchedFile Instance = new NoOpWatchedFile();
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
118private readonly Dictionary<DocumentId, IWatchedFile> _documentWatchedFiles = [];