LinePositionSpan Struct

Definition

Line position span in a file.

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

Constructors

Name Description
LinePositionSpan(LinePosition, LinePosition)

Initializes a new instance of the LinePositionSpan struct.

Properties

Name Description
End

Gets the end line position.

Start

Gets the start line position.

Methods

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

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(LinePositionSpan, LinePositionSpan)

Implementation of the equality operator.

Inequality(LinePositionSpan, LinePositionSpan)

Implementation of the non-equality operator.

Applies to