4 implementations of IWatchedFile
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
177private sealed class WatchedFile : IWatchedFile
HostWorkspace\FileWatching\SimpleFileChangeWatcher.cs (1)
92private sealed class IndividualWatchedFile : IWatchedFile
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\IFileChangeWatcher.cs (1)
101internal sealed class NoOpWatchedFile : IWatchedFile
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
478public sealed class RegularWatchedFile : IWatchedFile
10 references to IWatchedFile
Microsoft.CodeAnalysis.LanguageServer (3)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
138public IWatchedFile EnqueueWatchingFile(string filePath)
HostWorkspace\FileWatching\SimpleFileChangeWatcher.cs (1)
70public IWatchedFile EnqueueWatchingFile(string filePath)
HostWorkspace\LoadedProject.cs (1)
42private IWatchedFile? _mostRecentProjectAssetsFileWatcher;
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)
105private readonly Dictionary<DocumentId, IWatchedFile> _documentWatchedFiles = [];
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
393public IWatchedFile EnqueueWatchingFile(string filePath)