SourceLocation SourceLocation SourceLocation SourceLocation Class

Definition

Identifies a specific location in a target source code file.

public ref class SourceLocation
[System.Serializable]
public class SourceLocation
type SourceLocation = class
Public Class SourceLocation
Inheritance
SourceLocationSourceLocationSourceLocationSourceLocation
Attributes

Constructors

SourceLocation(String, Int32) SourceLocation(String, Int32) SourceLocation(String, Int32) SourceLocation(String, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and the number of a line in that file.

SourceLocation(String, Int32, Int32, Int32, Int32) SourceLocation(String, Int32, Int32, Int32, Int32) SourceLocation(String, Int32, Int32, Int32, Int32) SourceLocation(String, Int32, Int32, Int32, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and parameters for a range of data within that file.

Properties

EndColumn EndColumn EndColumn EndColumn

Gets the final column in a range of one or more columns in the source code file.

EndLine EndLine EndLine EndLine

Gets the final line in a range of one or more lines in the source code file.

FileName FileName FileName FileName

Gets the name of the target source code file.

IsSingleWholeLine IsSingleWholeLine IsSingleWholeLine IsSingleWholeLine

Gets a value that indicates whether the line and column settings define a single, complete line, and not multiple lines, in the source code file.

StartColumn StartColumn StartColumn StartColumn

Gets the first column in a range of one or more columns in the source code file.

StartLine StartLine StartLine StartLine

Gets the first line in a range of one or more lines in the source code file.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Returns a value that indicates whether the source code file line and column settings referenced by the SourceLocation object are an exact match for the line and column settings in another, specified SourceLocation object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a unique value to represent the SourceLocation object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to