PostSharpAPI ReferencePost­Sharp.​ReflectionLocation­InfoLocation­Info
Open sandboxFocus

LocationInfo Constructor

LocationInfo(FieldInfo)

Initializes a new LocationInfo from a System.Reflection.FieldInfo.

Declaration
public LocationInfo(FieldInfo fieldInfo)
Parameters
Type Name Description
System.Reflection.FieldInfo fieldInfo

The field represented by the LocationInfo.

LocationInfo(PropertyInfo)

Initializes a new LocationInfo from a System.Reflection.PropertyInfo.

Declaration
public LocationInfo(PropertyInfo propertyInfo)
Parameters
Type Name Description
System.Reflection.PropertyInfo propertyInfo

The property represented by the LocationInfo.

LocationInfo(ParameterInfo)

Initializes a new LocationInfo from a ParameterInfo.

Declaration
public LocationInfo(ParameterInfo parameterInfo)
Parameters
Type Name Description
ParameterInfo parameterInfo

The parameter represented by the LocationInfo.