13 references to GetCurrentNodes
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
96return GetCurrentNodes(root, node).SingleOrDefault();
Microsoft.CodeAnalysis.CSharp.Features (1)
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
253var currentDeclaration = currentRoot.GetCurrentNodes(declaration).Single();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\TrackNodeTests.cs (5)
37var currentAs = trackedExpr.GetCurrentNodes(a); 57var currentAs = expr.GetCurrentNodes(a); 86var latestAs = replacedExpr.GetCurrentNodes(originalA); 113var latestAs = replacedExpr.GetCurrentNodes(originalA); 139var nodes = replacedExpr.GetCurrentNodes(originalA).ToList();
Microsoft.CodeAnalysis.UnitTests (2)
CommonSyntaxTests.cs (2)
222var trackedB = trackedExpr.GetCurrentNodes(exprB).First(); 245var trackedB = trackedExpr.GetCurrentNodes(exprB).First();
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SyntaxNodeTests.cs (4)
105var currentClassDecl = trackedRoot.GetCurrentNodes(classDecl).First(); 109var latestMethod = classDeclWithField.GetCurrentNodes(methodDecl).First(); 123var finalClassDecl = root2.GetCurrentNodes(classDecl).First(); 127var finalMethodDecl = root2.GetCurrentNodes(methodDecl).First();