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)
71
var 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);