Open sandboxFocus

Property DeclarationIdentifier

DeclarationIdentifier

Gets the DeclarationIdentifier of the declaration to which the advice has been applied.

Declaration
public DeclarationIdentifier DeclarationIdentifier { get; set; }
Property Value
Type Description
DeclarationIdentifier
Remarks
<p>For usage information, see the remarks of the <xref href="PostSharp.Aspects.AdviceArgs.DeclarationIdentifier" data-throw-if-not-resolved="false"></xref> type documentation.</p>
<div class="NOTE"><h5>note</h5><p>

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.