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)
99
await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true,
_cancellationToken
).NoThrowAwaitable();
100
if (
_cancellationToken
.IsCancellationRequested)
118
await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true,
_cancellationToken
).NoThrowAwaitable();
119
if (
_cancellationToken
.IsCancellationRequested)
169
var syntaxTree = await document.GetSyntaxTreeAsync(
_cancellationToken
).ConfigureAwait(false);
170
var token = await syntaxTree.GetTouchingWordAsync(snapshotSpan.Start.Position, syntaxFactsService,
_cancellationToken
).ConfigureAwait(false);
186
var semanticModel = await document.ReuseExistingSpeculativeModelAsync(token.Parent,
_cancellationToken
).ConfigureAwait(false);
189
var renameSymbolInfo = RenameUtilities.GetTokenRenameInfo(semanticFacts, semanticModel, token,
_cancellationToken
);
224
var sourceSymbol = SymbolFinder.FindSourceDefinition(symbol, document.Project.Solution,
_cancellationToken
) ?? symbol;
238
var sourceSymbol = SymbolFinder.FindSourceDefinition(symbol, document.Project.Solution,
_cancellationToken
) ?? symbol;