PostSharp 6.9 / / 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: 6.9.1.0 (6.9.1.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