4 writes to _tokens
Microsoft.VisualStudio.LanguageServices (4)
ProjectSystem\FileChangeWatcher.cs (4)
155
_tokens
= OneOrMany<Context.RegularWatchedFile>.Empty;
166
_tokens
= tokens;
184
_tokens
= OneOrMany<Context.RegularWatchedFile>.Empty;
193
_tokens
= tokens;
3 references to _tokens
Microsoft.VisualStudio.LanguageServices (3)
ProjectSystem\FileChangeWatcher.cs (3)
317
Contract.ThrowIfTrue(cookies.Length !=
_tokens
.Count);
319
_tokens
[i].Cookie = cookies[i];
329
await service.UnadviseFileChangesAsync(
_tokens
.Select(token => token.Cookie!.Value).ToArray(), cancellationToken).ConfigureAwait(false);