NAnt SDK Documentation - v0.92

Location.ToString Method 

Returns the file name, line number and a trailing space. An error message can be appended easily. For unknown locations, returns an empty string.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

See Also

Location Class | NAnt.Core Namespace