Class OutlinedDeclaration
What is known of a declaration of a module's outline, wherever it is written: the facts OutlineEntry and the assistant tools' entry share.
public abstract record OutlinedDeclaration : IEquatable<OutlinedDeclaration>
- Inheritance
-
OutlinedDeclaration
- Implements
- Derived
- Inherited Members
Properties
Access
The access it is declared with.
[JsonConverter(typeof(JsonStringEnumConverter<AccessModifier>))]
public AccessModifier Access { get; init; }
Property Value
Accessors
The name of each accessor a property has (Get, Let, Set), which the outline lists as one entry; empty for any other
declaration.
public IReadOnlyList<string> Accessors { get; init; }
Property Value
Declaration
Its declaration as hover writes it.
public required string Declaration { get; init; }
Property Value
DeclaredType
The name of its declared type; null when it has none, or one that did not resolve.
public string? DeclaredType { get; init; }
Property Value
Id
The address of its symbol (its SemanticId).
public required Uri Id { get; init; }
Property Value
IsArray
Whether its declared type is an array.
public bool IsArray { get; init; }
Property Value
Kind
What it is.
public DescribedSymbolKind Kind { get; init; }
Property Value
Name
The name it is declared with.
public required string Name { get; init; }
Property Value
TypeKind
The kind of its declared type, or of its elements' type for an array; null when it has no type, or one that did not resolve.
[JsonConverter(typeof(JsonStringEnumConverter<DeclaredTypeKind>))]
public DeclaredTypeKind? TypeKind { get; init; }