1 write to _cancellationToken
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
63_cancellationToken = _cancellationTokenSource.Token;
10 references to _cancellationToken
Microsoft.CodeAnalysis.EditorFeatures (10)
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (10)
99await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, _cancellationToken).NoThrowAwaitable(); 100if (_cancellationToken.IsCancellationRequested) 118await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, _cancellationToken).NoThrowAwaitable(); 119if (_cancellationToken.IsCancellationRequested) 169var syntaxTree = await document.GetSyntaxTreeAsync(_cancellationToken).ConfigureAwait(false); 170var token = await syntaxTree.GetTouchingWordAsync(snapshotSpan.Start.Position, syntaxFactsService, _cancellationToken).ConfigureAwait(false); 186var semanticModel = await document.ReuseExistingSpeculativeModelAsync(token.Parent, _cancellationToken).ConfigureAwait(false); 189var renameSymbolInfo = RenameUtilities.GetTokenRenameInfo(semanticFacts, semanticModel, token, _cancellationToken); 224var sourceSymbol = SymbolFinder.FindSourceDefinition(symbol, document.Project.Solution, _cancellationToken) ?? symbol; 238var sourceSymbol = SymbolFinder.FindSourceDefinition(symbol, document.Project.Solution, _cancellationToken) ?? symbol;