ReflectionExtensions.GetBackingField Method |
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
public static FieldInfo GetBackingField( this PropertyInfo propertyInfo )
Parameters
- propertyInfo
- Type: System.Reflection.PropertyInfo
A property.
Return Value
Type: FieldInfoThe FieldInfo representing the backing field of propertyInfo, or null if propertyInfo is not an automatic property.