LinePosition Struct

Definition

Line position in a file.

public struct LinePosition : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.LinePosition>
public readonly struct LinePosition : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.LinePosition>
type LinePosition = struct
Public Structure LinePosition
Implements IEquatable(Of LinePosition)
Inheritance
LinePosition
Implements

Constructors

Name Description
LinePosition(Int32, Int32)

Initializes a new instance of the LinePosition struct.

Properties

Name Description
Column

Gets the column number.

Line

Gets the line number.

Methods

Name Description
Deconstruct(Int32, Int32)
Equals(LinePosition)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(LinePosition, LinePosition)

Implementation of the equality operator.

Inequality(LinePosition, LinePosition)

Implementation of the non-equality operator.

Applies to