public void SyntaxTreeCreateWithoutCloneAcceptsAnySyntaxNode() { var node = SyntaxFactory.CatchClause( SyntaxFactory.CatchDeclaration( SyntaxFactory.ParseTypeName(typeof(InvalidOperationException).Name) ), null, SyntaxFactory.Block() ); var tree = CSharpSyntaxTree.CreateWithoutClone(node); CheckTree(tree); }