ReflectionExtensions Class
Provides utility methods to work with the System.Reflection namespace.
Inheritance Hierarchy
System.Object
  PostSharp.Reflection.ReflectionExtensions

Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
public static class ReflectionExtensions

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 (typically Async, Enumerable or None) that implements a given method.
Public methodStatic memberIsAutomaticProperty
Determines whether a given property is an automatic property.
Top
See Also