Click or drag to resize

LinePositionSpan Class



Immutable span represented by a pair of line number and index within the line.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.TextLinePositionSpan

Namespace:  Microsoft.CodeAnalysis.Text
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class LinePositionSpan : ValueType, 
	IEquatable

The LinePositionSpan type exposes the following members.

Constructors
  NameDescription
Public methodLinePositionSpan
Creates LinePositionSpan.
Top
Properties
  NameDescription
Public propertyEnd
Gets the end position of the span.
Public propertyStart
Gets the start position of the span.
Top
Methods
  NameDescription
Public methodEquals(Object)
Public methodEquals(LinePositionSpan)
Public methodGetHashCode
Public methodCode exampleToString
Provides a string representation for LinePositionSpan.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also