PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message­Location Class / Message­Location Methods / Message­Location.​Explicit Method / Message­Location.​Explicit Method (String, Int32, Int32)

MessageLocation.Explicit Method (String, Int32, Int32)

Builds a MessageLocation explicitly by specifying a filename, line, and column.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static MessageLocation Explicit(
	string file,
	int line,
	int column
)

Parameters

file
Type: System.String
File name.
line
Type: System.Int32
Line number.
column
Type: System.Int32
Column number.

Return Value

Type: MessageLocation
A MessageLocation.
See Also