SemanticInfo.IsSelectable Property |
Determines whether the declaration can be safely selected in a pointcut using the standard System.Reflection API.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
This property is false for declarations such as anonymous methods or local functions because their MSIL implementation
can move from one type to another because of a mere change of the method body in C#. It is also false for
implementation details such as anonymous method cache fields, or closure types, which should never be advised.