1 override of CompilationUnit
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
104
public override SyntaxNode
CompilationUnit
(IEnumerable<SyntaxNode> declarations)
4 references to CompilationUnit
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (3)
CodeGeneration\SyntaxGeneratorTests.vb (3)
3163
AssertMemberNamesEqual("c", Generator.
CompilationUnit
(declarations:={Generator.ClassDeclaration("c")}))
3180
AssertMemberNamesEqual({"n1", "n2"}, Generator.AddMembers(Generator.
CompilationUnit
(declarations:={Generator.NamespaceDeclaration("n1")}), {Generator.NamespaceDeclaration("n2")}))
3190
TestRemoveAllMembers(Generator.AddMembers(Generator.
CompilationUnit
(declarations:={Generator.NamespaceDeclaration("n1")})))
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxGenerator.cs (1)
971
=>
CompilationUnit
((IEnumerable<SyntaxNode>)declarations);