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 (Parameter­Info)

MessageLocation.Of Method (ParameterInfo)

Builds a MessageLocation from a ParameterInfo.

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

Parameters

parameter
Type: System.Reflection.ParameterInfo
A ParameterInfo.

Return Value

Type: MessageLocation
A MessageLocation.
See Also