6 references to GetTouchingTokenAsync
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (3)
868
var token = await tree.
GetTouchingTokenAsync
(location.SourceSpan.Start, cancellationToken, findInsideTrivia: true).ConfigureAwait(false);
896
var token = await location.SourceTree!.
GetTouchingTokenAsync
(location.SourceSpan.Start, cancellationToken, findInsideTrivia: true).ConfigureAwait(false);
972
var token = await implicitReferenceLocation.Location.SourceTree!.
GetTouchingTokenAsync
(
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\AbstractContextVariableArgumentProvider.cs (1)
86
var targetToken = await tree.
GetTouchingTokenAsync
(context.Position, context.CancellationToken).ConfigureAwait(false);
QuickInfo\CommonQuickInfoProvider.cs (1)
51
var token = await tree.
GetTouchingTokenAsync
(position, cancellationToken, findInsideTrivia: true).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
46
var token = await syntaxTree.
GetTouchingTokenAsync
(span.Start, cancellationToken, findInsideTrivia: true).ConfigureAwait(false);