PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Reflection­Extensions Class / Reflection­Extensions Methods

ReflectionExtensions Methods

The ReflectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetAutomaticProperty(FieldInfo)
Gets the PropertyInfo whose a given field is the backing field from the current type or base types.
Public methodStatic memberGetAutomaticProperty(FieldInfo, Boolean)
Gets the PropertyInfo whose a given field is the backing field and specifies whether base types should be considered.
Public methodStatic memberGetBackingField
Gets the backing field of a given property.
Public methodStatic memberGetStateMachineKind
Gets the kind of state machine (for example, Async, Iterator or None) that implements a given method.
Public methodStatic memberGetStateMachinePublicMethod
Gets the public (or kick-off) method given a MoveNext method.
Public methodStatic memberIsAutomaticProperty
Determines whether a given property is an automatic property.
See Also