TypeDeclaration Class

Base class for all type declarations (classes, interfaces, structs, records, enums, delegates).

Inheritance
CodeObject TypeDeclaration
Implements

Constructors

NameDescription
TypeDeclaration()

TypeDeclaration()

TypeDeclaration.cs
protected TypeDeclaration()

No documentation is available.

Properties

NameDescription
CommentsAfter
CommentsBefore
CustomAttributes
Modifiers
Name
NamespaceGets the fully qualified namespace containing this type declaration.
NullableContext
XmlComments

CommentsAfter

TypeDeclaration.cs
public CommentCollection CommentsAfter { get; }

Property value

CommentCollection

No documentation is available.

CommentsBefore

TypeDeclaration.cs
public CommentCollection CommentsBefore { get; }

Property value

CommentCollection

No documentation is available.

CustomAttributes

TypeDeclaration.cs
public CodeObjectCollection<CustomAttribute> CustomAttributes { get; }

No documentation is available.

public Modifiers Modifiers { get; set; }

Property value

Modifiers

No documentation is available.

public string? Name { get; set; }

Property value

string?

No documentation is available.

Gets the fully qualified namespace containing this type declaration.

public string? Namespace { get; }

Property value

string?

NullableContext

TypeDeclaration.cs
public NullableContext NullableContext { get; set; }

Property value

NullableContext

No documentation is available.

public XmlCommentCollection XmlComments { get; }

Property value

XmlCommentCollection

No documentation is available.