Metalama//API Documentation/Aspect API/Metalama.​Framework.​Diagnostics/Scoped­Diagnostic­Sink/Default­Target­Declaration
Open sandboxFocus

Property DefaultTargetDeclaration

DefaultTargetDeclaration

Gets the declaration on which diagnostics or code fixes will be reported or suppressed.

Declaration
public IDeclaration DefaultTargetDeclaration { get; }
Property Value
Type Description
IDeclaration