ReflectionExtensions Class |
Provides utility methods to work with the System.Reflection namespace.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public static class ReflectionExtensions
The ReflectionExtensions type exposes the following members.
Name | Description | |
---|---|---|
GetAutomaticProperty(FieldInfo) |
Gets the PropertyInfo whose a given field is the backing field from the current type or base types.
| |
GetAutomaticProperty(FieldInfo, Boolean) |
Gets the PropertyInfo whose a given field is the backing field and specifies whether base types should be considered.
| |
GetBackingField |
Gets the backing field of a given property.
| |
GetStateMachineKind | ||
GetStateMachinePublicMethod |
Gets the public (or kick-off) method given a MoveNext method.
| |
IsAutomaticProperty |
Determines whether a given property is an automatic property.
|