public record DocProperty : DocMember
A DocMember
that represents a documented property in the parsed source code.
public required DocType Type { get; init; }
The type of the property.
public required DocPropertyAccessor[] Accessors { get; init; }
The accessors of the property (e.g., get
, set
, init
).
public required bool Generated { get; init; }
Whether this property was generated by compiler (e.g., it's a property of a record).
public required bool Event { get; init; }
Whether this property represents an event.
public string AccessorsDeclaration { get; }
The declaration of property accessors as they declared in the C# source code.