NAnt SDK Documentation - v0.92 |

# Location Methods

The methods of the Location class are listed below. For a complete list of Location class members, see the Location Members topic.

#### 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