PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static LocationInfo ToLocationInfo(
	Object reflectionInfo
)

Parameters

reflectionInfo
Type: System.Object

Return Value

Type: LocationInfo
See Also