PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Location­Info Class / Location­Info Constructor / Location­Info Constructor (Field­Info)

LocationInfo Constructor (FieldInfo)

Initializes a new LocationInfo from a FieldInfo.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public LocationInfo(
	FieldInfo fieldInfo
)

Parameters

fieldInfo
Type: System.Reflection.FieldInfo
The field represented by the LocationInfo.
See Also