6 references to CloneNodeAsRoot
Microsoft.CodeAnalysis.CSharp (3)
Syntax\CSharpSyntaxTree.Dummy.cs (1)
25_node = this.CloneNodeAsRoot(SyntaxFactory.ParseCompilationUnit(string.Empty));
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
71var root = CloneNodeAsRoot((CSharpSyntaxNode)tree.GetRoot(cancellationToken));
Syntax\CSharpSyntaxTree.ParsedSyntaxTree.cs (1)
52_root = cloneRoot ? this.CloneNodeAsRoot(root) : root;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DeclarationTests.cs (1)
942_root = CloneNodeAsRoot(_underlyingTree.GetCompilationUnitRoot(CancellationToken.None));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\Mocks\MockCSharpSyntaxTree.cs (1)
28_root = (root != null) ? CloneNodeAsRoot(root) : null;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.ParsedSyntaxTree.cs (1)
37_root = CloneNodeAsRoot(root);