10 references to TrackNodes
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
67return TrackNodes(root, (IEnumerable<SyntaxNode>)nodes);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
847var rootWithTrackedNodes = root.TrackNodes(originalDeclStatementsToMoveOrRemove);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
84var currentRoot = root.TrackNodes(nodesToTrack);
Microsoft.CodeAnalysis.CSharp.Features (3)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
330root = root.TrackNodes(allAffectedStatements.Concat(new SyntaxNode[] { expression, statement }));
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
84var currentRoot = root.TrackNodes(nodesToTrack);
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
244var currentRoot = root.TrackNodes(declarationsToFix);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\TrackNodeTests.cs (1)
150var trackedExpr = expr.TrackNodes(ids);
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
1417var newRoot = root.TrackNodes(declarations);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\ForkingSyntaxEditorBasedCodeFixProvider.cs (1)
78document.WithSyntaxRoot(originalRoot.TrackNodes(originalNodes.Select(static t => t.diagnosticNode))),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxEditorExtensions.cs (1)
171document = document.WithSyntaxRoot(originalRoot.TrackNodes(originalNodePairs.SelectMany(pair => pair.nodes.additionalNodes.Concat(pair.nodes.semanticNode))));