2 references to CloneNodeAsRoot
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
80
return CSharpSyntaxNode.
CloneNodeAsRoot
(node, this);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTreeTests.cs (1)
88
SyntaxTreeFactoryKind.SynthesizedSyntaxTree => SyntaxNode.
CloneNodeAsRoot
(root, syntaxTree: null).SyntaxTree,