SourceLocation SourceLocation 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.

[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
SourceLocationSourceLocationSourceLocation
Attributes
SerializableAttribute
Implements

Constructors

SourceLocation(Int32, Int32, Int32) SourceLocation(Int32, Int32, Int32) 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 Undefined Undefined

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

Zero Zero Zero

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

Properties

AbsoluteIndex AbsoluteIndex 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 CharacterIndex 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 LineIndex 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) Add(SourceLocation, SourceLocation) 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) Advance(SourceLocation, String) 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) CompareTo(SourceLocation) 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) Equals(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) Equals(SourceLocation) 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() GetHashCode() 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) Subtract(SourceLocation, SourceLocation) 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() ToString() 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) Addition(SourceLocation, SourceLocation) 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) Equality(SourceLocation, SourceLocation) 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) GreaterThan(SourceLocation, SourceLocation) 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) Inequality(SourceLocation, SourceLocation) 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) LessThan(SourceLocation, SourceLocation) 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) Subtraction(SourceLocation, SourceLocation) Subtraction(SourceLocation, SourceLocation)

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

Applies to