10 references to IFileChangeContext
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (3)
29private readonly Lazy<IFileChangeContext> _fileReferenceChangeContext; 66_fileReferenceChangeContext = new Lazy<IFileChangeContext>(() => 68var fileReferenceChangeContext = fileChangeWatcher.CreateContext(GetAdditionalWatchedDirectories());
Workspace\ProjectSystem\IFileChangeWatcher.cs (5)
12IFileChangeContext CreateContext(ImmutableArray<WatchedDirectory> watchedDirectories); 16/// Gives a hint to the <see cref="IFileChangeContext"/> that we should watch a top-level directory for all changes in addition 17/// to any files called by <see cref="IFileChangeContext.EnqueueWatchingFile(string)"/>. 20/// This is largely intended as an optimization; consumers should still call <see cref="IFileChangeContext.EnqueueWatchingFile(string)" /> 81/// file in the directory if the <see cref="IFileChangeContext"/> was watching a directory.
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
123private readonly IFileChangeContext _documentFileChangeContext;
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
24/// an <see cref="IFileChangeContext"/> which lets you add/remove files being watched, and an event is raised when a file is modified.