AdviceArgs.DeclarationIdentifier Property |
Gets the DeclarationIdentifier of the declaration to which the
advice has been applied.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public DeclarationIdentifier DeclarationIdentifier { get; set; }
Property Value
Type: DeclarationIdentifierFor usage information, see the remarks of the DeclarationIdentifier type documentation.
As a result of weaving optimizations, value of this property may be seen as null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration. |