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