Represents a single reference in a ReferenceValidationContext. This class is exposed by the Details property.
Namespace: Metalama.Framework.Validation
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct ReferenceDetail
Properties
Name | Description |
---|---|
DestinationDeclaration | Gets the destination declaration (i.e. the referenced declaration). |
DiagnosticLocation | Gets the location where diagnostics should be reported. |
Diagnostics | Gets an object allowing to report diagnostics on this reference instance. |
OriginDeclaration | Gets the origin declaration of the reference (i.e. the referencing declaration). |
ReferenceKind | Gets the ReferenceKinds. This property returns a single flag of the enum. |
Source | Gets a reference of the source code of this reference. |