Open sandboxFocus

Method Explicit

Explicit(string, int, int, int, int)

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

Declaration
public static MessageLocation Explicit(string file, int lineStart, int columnStart, int lineEnd, int columnEnd)
Parameters
Type Name Description
string file

File name.

int lineStart

Starting line number.

int columnStart

Starting column number.

int lineEnd

Ending line number.

int columnEnd

Ending column number.

Returns
Type Description
MessageLocation

A MessageLocation.

Explicit(string, int, int)

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

Declaration
public static MessageLocation Explicit(string file, int line, int column)
Parameters
Type Name Description
string file

File name.

int line

Line number.

int column

Column number.

Returns
Type Description
MessageLocation

A MessageLocation.

Explicit(string)

Builds a MessageLocation explicitly by specifying a filename, when the

Declaration
public static MessageLocation Explicit(string file)
Parameters
Type Name Description
string file

File name.

Returns
Type Description
MessageLocation

A MessageLocation.