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