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

MessageLocation.Of Method (MemberInfo)

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public static MessageLocation Of(
	MemberInfo member
)

Parameters

member
Type: System.Reflection.MemberInfo
An element of code (Type, MethodInfo, ConstructorInfo, FieldInfo, PropertyInfo, EventInfo).

Return Value

Type: MessageLocation
A MessageLocation.
See Also