MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeSource­ReferenceDiagnostic­Location
Open sandboxFocus

SourceReference.DiagnosticLocation Property

DiagnosticLocation

Gets the location where the diagnostic should be reported for the current syntax. Typically this is the identifier of the declaration, but the location can be a keyword for nodes that do not have an identifier.

Declaration
public IDiagnosticLocation DiagnosticLocation { get; }
Property Value
Type Description
IDiagnosticLocation