Readonly
nameThe name of the class
Readonly
namespaceThe namespace containing the class
Readonly
accessThe access level of the class
Readonly
abstractWhether the class is abstract
Readonly
static_Whether the class is static
Readonly
sealedWhether the class is sealed
Readonly
partialWhether the class is partial
Readonly
referenceThe class reference for this class
Readonly
interfaceThe interfaces implemented by this class
Readonly
isWhether this is a nested class
Readonly
annotationsThe annotations applied to this class
Optional
Readonly
splitWhether to split annotations onto separate lines
The parent class this class inherits from
Adds a constructor to the class.
The constructor to add
Adds a nested interface to this class.
The nested interface to add
Writes the class declaration and its members to the writer.
The writer to write to
Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.
The string representation of the AST node
Represents a C# class in the AST. This class handles the generation of C# class declarations including fields, constructors, methods, and nested types.