Provides utility methods to work with the System.Reflection namespace.
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public static class ReflectionExtensionsMethods
| Name | Description |
|---|---|
| GetAutomaticProperty(FieldInfo) | Gets the PropertyInfo whose a given field is the backing field from the current type or base types. |
| GetAutomaticProperty(FieldInfo, bool) | Gets the PropertyInfo whose a given field is the backing field and specifies whether base types should be considered. |
| GetBackingField(PropertyInfo) | Gets the backing field of a given property. |
| GetStateMachineKind(MethodInfo) | Gets the kind of state machine (for example, Async, Iterator or None) that implements a given method. |
| GetStateMachinePublicMethod(MethodInfo) | Gets the public (or kick-off) method given a |
| IsAutomaticProperty(PropertyInfo) | Determines whether a given property is an automatic property. |