1 write to _cancellationToken
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
135
_cancellationToken
= parameters.CancellationToken;
12 references to _cancellationToken
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
Rename\CSharpRenameRewriterLanguageService.cs (12)
244
newToken = RenameAndAnnotateAsync(token, newToken, isRenameLocation, isOldText).WaitAndGetResult_CanCallOnBackground(
_cancellationToken
);
291
var speculativeTree = originalNode.SyntaxTree.GetRoot(
_cancellationToken
).ReplaceNode(originalNode, newNode);
305
cancellationToken:
_cancellationToken
);
306
speculativeTree = originalNode.SyntaxTree.GetRoot(
_cancellationToken
).ReplaceNode(originalNode, newNode);
349
var symbols = RenameUtilities.GetSymbolsTouchingPosition(token.Span.Start, _semanticModel, _solution.Services,
_cancellationToken
);
365
var sourceDefinition = await SymbolFinder.FindSourceDefinitionAsync(symbol, _solution,
_cancellationToken
).ConfigureAwait(false);
396
ConflictResolver.CreateDeclarationLocationAnnotationsAsync(_solution, symbols,
_cancellationToken
).ConfigureAwait(false);
404
var isMemberGroupReference = _semanticFactsService.IsInsideNameOfExpression(_semanticModel, token.Parent,
_cancellationToken
);
470
var symbolInfo = _semanticModel.GetSymbolInfo(invocationExpression,
_cancellationToken
);
485
_cancellationToken
)
486
.WaitAndGetResult_CanCallOnBackground(
_cancellationToken
);
546
var symbol = _speculativeModel.GetSymbolInfo(token.Parent,
_cancellationToken
).Symbol;