Open sandboxFocus

Property IsSelectable

IsSelectable

Determines whether the declaration can be safely selected in a pointcut using the standard System.Reflection API.

Declaration
public bool IsSelectable { get; }
Property Value
Type Description
bool
Remarks

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.