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

MessageLocation.Of Method (Assembly)

Builds a MessageLocation from an Assembly.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public static MessageLocation Of(
	Assembly assembly
)

Parameters

assembly
Type: System.Reflection.Assembly
An Assembly (Assembly or its wrapper).

Return Value

Type: MessageLocation
A MessageLocation.
See Also