NAnt SDK Documentation - v0.92

Location Members

Location overview

Public Static (Shared) Fields

UnknownLocation 

Public Instance Constructors

Location Overloaded. Initializes a new instance of the Location class.

Public Instance Properties

ColumnNumber Gets the column number for the location.
FileName Gets a string containing the file name for the location.
LineNumber Gets the line number for the location.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Returns the file name, line number and a trailing space. An error message can be appended easily. For unknown locations, returns an empty string.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Location Class | NAnt.Core Namespace