MemberDeclaration Class

Base class for all member declarations (methods, properties, fields, etc.).

Inheritance
CodeObject MemberDeclaration
Implements

Constructors

NameDescription
MemberDeclaration()
MemberDeclaration(string?)Initializes a new instance of the MemberDeclaration class with the specified name.

MemberDeclaration overloads

MemberDeclaration()

MemberDeclaration.cs
protected MemberDeclaration()

No documentation is available.

MemberDeclaration(string?)

MemberDeclaration.cs

Initializes a new instance of the MemberDeclaration class with the specified name.

protected MemberDeclaration(string? name)
Parameters
name string?
The member name.

Properties

NameDescription
CommentsAfter
CommentsBefore
CustomAttributes
Implements
Name
NullableContext
XmlComments
public CommentCollection CommentsAfter { get; }

Property value

CommentCollection

No documentation is available.

CommentsBefore

MemberDeclaration.cs
public CommentCollection CommentsBefore { get; }

Property value

CommentCollection

No documentation is available.

CustomAttributes

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

No documentation is available.

No documentation is available.

public string? Name { get; set; }

Property value

string?

No documentation is available.

NullableContext

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

Property value

NullableContext

No documentation is available.

public XmlCommentCollection XmlComments { get; }

Property value

XmlCommentCollection

No documentation is available.