Class DeclarationFactDto
A DeclarationFact, as it travels.
public record DeclarationFactDto : IEquatable<DeclarationFactDto>
- Inheritance
-
DeclarationFactDto
- Implements
- Inherited Members
Constructors
DeclarationFactDto(Uri, string, DeclarationKind, AccessModifier, bool, SourceLocation, DeclarationReferences?, DeclarationRole, LocalDeclarationKind?, HiddenDeclaration?)
A DeclarationFact, as it travels.
public DeclarationFactDto(Uri Symbol, string Name, DeclarationKind Kind, AccessModifier Access, bool IsImplicit, SourceLocation Location, DeclarationReferences? References, DeclarationRole Role = DeclarationRole.None, LocalDeclarationKind? DeclaredBy = null, HiddenDeclaration? Hides = null)
Parameters
SymbolUriThe address of the declared symbol.
NamestringThe name it is declared with.
KindDeclarationKindWhat it declares.
AccessAccessModifierWho can refer to it besides the module's own code.
IsImplicitboolWhether it was never declared.
LocationSourceLocationWhere it is declared.
ReferencesDeclarationReferences?Every reference to it, when they are known; null says they are not.
RoleDeclarationRoleWhat it is there for, when it implements an interface member or handles an event.
DeclaredByLocalDeclarationKind?How a local variable came to be declared; null for any other declaration.
HidesHiddenDeclarationWhat a local or a parameter hides; null when it hides nothing, and for any other declaration.
Properties
Access
Who can refer to it besides the module's own code.
public AccessModifier Access { get; init; }
Property Value
DeclaredBy
How a local variable came to be declared; null for any other declaration.
public LocalDeclarationKind? DeclaredBy { get; init; }
Property Value
Hides
What a local or a parameter hides; null when it hides nothing, and for any other declaration.
public HiddenDeclaration? Hides { get; init; }
Property Value
IsImplicit
Whether it was never declared.
public bool IsImplicit { get; init; }
Property Value
Kind
What it declares.
public DeclarationKind Kind { get; init; }
Property Value
Location
Where it is declared.
public SourceLocation Location { get; init; }
Property Value
Name
The name it is declared with.
public string Name { get; init; }
Property Value
References
Every reference to it, when they are known; null says they are not.
public DeclarationReferences? References { get; init; }
Property Value
Role
What it is there for, when it implements an interface member or handles an event.
public DeclarationRole Role { get; init; }
Property Value
Symbol
The address of the declared symbol.
public Uri Symbol { get; init; }