4 writes to _tokens
Microsoft.VisualStudio.LanguageServices (4)
ProjectSystem\FileChangeWatcher.cs (4)
156
_tokens
= OneOrMany<Context.RegularWatchedFile>.Empty;
167
_tokens
= tokens;
185
_tokens
= OneOrMany<Context.RegularWatchedFile>.Empty;
194
_tokens
= tokens;
3 references to _tokens
Microsoft.VisualStudio.LanguageServices (3)
ProjectSystem\FileChangeWatcher.cs (3)
318
Contract.ThrowIfTrue(cookies.Length !=
_tokens
.Count);
320
_tokens
[i].Cookie = cookies[i];
330
await service.UnadviseFileChangesAsync(
_tokens
.Select(token => token.Cookie!.Value).ToArray(), cancellationToken).ConfigureAwait(false);