public record DocType(string Name, DocType[] TypeParams, string? FullyQualifiedName = null)
A simple type (e.g. int
, string
, List<int>
, etc.).
public string FullName { get; }
The full name of the type including its type parameters.
public string Name { get; }
The name of the type (without generic arguments).
public DocType[] TypeParams { get; }
The generic parameters of this type (if it's generic).
public string? FullyQualifiedName { get; }
An optional fully qualified name (null
for parameter or field types).