PostSharp6.0/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.0.35.0 (6.0.35.0)
Syntax
C#
public static LocationInfo ToLocationInfo(
	Object reflectionInfo
)

Parameters

reflectionInfo
Type: System.Object

Return Value

Type: LocationInfo
See Also