6 references to FindTokenOnRightOfPosition
Microsoft.CodeAnalysis.Workspaces (6)
CodeCleanup\AbstractCodeCleanerService.cs (1)
406
var token = root.
FindTokenOnRightOfPosition
(position, includeSkipped: true, includeDirectives: true, includeDocumentationComments: true);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
208
return syntaxTree.GetRoot(cancellationToken).
FindTokenOnRightOfPosition
(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
95
var afterAttributesToken = root.
FindTokenOnRightOfPosition
(endOfAttributeLists);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (1)
67
: root.
FindTokenOnRightOfPosition
(textSpan.Start);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
456
var afterAttributesToken = root.
FindTokenOnRightOfPosition
(endOfAttributeLists);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
528
var token = root.
FindTokenOnRightOfPosition
(position, true);