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