PostSharp6.1/API Reference/Post­Sharp.​Reflection Namespace/Location­Info Class/Location­Info Methods/Location­Info.​To­Location­Info Method

LocationInfo.ToLocationInfo Method

Initializes a new LocationInfo from a FieldInfo, PropertyInfo, or ParameterInfo.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public static LocationInfo ToLocationInfo(
	Object reflectionInfo
)

Parameters

reflectionInfo
Type: System.Object

Return Value

Type: LocationInfo
See Also