1 instantiation of RegularWatchedFile
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
434var token = new RegularWatchedFile(this);
13 references to RegularWatchedFile
Microsoft.VisualStudio.LanguageServices (13)
ProjectSystem\FileChangeWatcher.cs (13)
131/// A file watcher token. The <see cref="Context.RegularWatchedFile.Cookie"/> field is assigned by the 134private readonly Context.RegularWatchedFile _token; 139private readonly IEnumerable<Context.RegularWatchedFile> _tokens; 172private WatcherOperation(Kind kind, string path, _VSFILECHANGEFLAGS fileChangeFlags, IVsFreeThreadedFileChangeEvents2 sink, Context.RegularWatchedFile token) 204private WatcherOperation(Kind kind, IEnumerable<Context.RegularWatchedFile> tokens) 220private WatcherOperation(Kind kind, Context.RegularWatchedFile token) 255public static WatcherOperation WatchFile(string path, _VSFILECHANGEFLAGS fileChangeFlags, IVsFreeThreadedFileChangeEvents2 sink, Context.RegularWatchedFile token) 261public static WatcherOperation UnwatchFiles(IEnumerable<Context.RegularWatchedFile> tokens) 264public static WatcherOperation UnwatchFile(Context.RegularWatchedFile token) 374/// Gate to guard mutable fields in this class and any mutation of any <see cref="RegularWatchedFile"/>s. 378private readonly HashSet<RegularWatchedFile> _activeFileWatchingTokens = new(); 434var token = new RegularWatchedFile(this); 446private void StopWatchingFile(RegularWatchedFile watchedFile)