PostSharp 6.6 / / 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: 6.6.14.0 (6.6.14.0)
Syntax
C#
public static LocationInfo ToLocationInfo(
	Object reflectionInfo
)

Parameters

reflectionInfo
Type: System.Object

Return Value

Type: LocationInfo
See Also