8 references to GetAnnotatedNodesAndTokens
Microsoft.CodeAnalysis (3)
Syntax\SyntaxNode.cs (2)
1293
return this.
GetAnnotatedNodesAndTokens
(annotationKind).Where(n => n.IsNode).Select(n => n.AsNode()!);
1309
return this.
GetAnnotatedNodesAndTokens
(annotationKind).Where(n => n.IsToken).Select(n => n.AsToken());
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
204
foreach (var node in root.
GetAnnotatedNodesAndTokens
(IdAnnotationKind).Select(n => n.AsNode()!))
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Simplifiers\NameSimplifier.cs (2)
139
var annotatedNodesOrTokens = name.
GetAnnotatedNodesAndTokens
(RenameAnnotation.Kind);
152
annotatedNodesOrTokens = name.
GetAnnotatedNodesAndTokens
(AliasAnnotation.Kind);
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (2)
201
Dim conflicts = newScope.
GetAnnotatedNodesAndTokens
(ConflictAnnotation.Kind)
202
Dim declaratorConflicts = modifiedIdentifier.
GetAnnotatedNodesAndTokens
(ConflictAnnotation.Kind)
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
505
foreach (var nodeOrToken in syntaxRoot.
GetAnnotatedNodesAndTokens
(RenameAnnotation.Kind))