PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message­Location Class / Message­Location Methods / Message­Location.​Of Method / Message­Location.​Of Method (Location­Info)

MessageLocation.Of Method (LocationInfo)

Builds a MessageLocation from a LocationInfo.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static MessageLocation Of(
	LocationInfo location
)

Parameters

location
Type: PostSharp.Reflection.LocationInfo
A LocationInfo.

Return Value

Type: MessageLocation
A MessageLocation.
See Also