Share via


SourceLocation Struct

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a source location.

[System.Serializable]
public struct SourceLocation : IComparable<System.Web.Razor.Text.SourceLocation>, IEquatable<System.Web.Razor.Text.SourceLocation>
type SourceLocation = struct
Public Structure SourceLocation
Implements IComparable(Of SourceLocation), IEquatable(Of SourceLocation)
Inheritance
SourceLocation
Attributes
Implements

Constructors

SourceLocation(Int32, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the SourceLocation class.

Fields

Undefined

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Zero

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Properties

AbsoluteIndex

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the absolute index for the source location.

CharacterIndex

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the character index for the source location.

LineIndex

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the line index for the source location.

Methods

Add(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds the two SourceLocation object.

Advance(SourceLocation, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Advances the specified object to the given location.

CompareTo(SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Compares current object to the other object.

Equals(Object)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object.

Equals(SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the current SourceLocation object is equal to the other SourceLocation object.

GetHashCode()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the hash code for this instance.

Subtract(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Subtracts the first object to the second object.

ToString()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the source location.

Operators

Addition(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds the two SourceLocation object.

Equality(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are equal.

GreaterThan(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the first object is greater than the second object.

Inequality(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two SourceLocationobject are not equal.

LessThan(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the first object is less than the second object.

Subtraction(SourceLocation, SourceLocation)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Applies to