Show / Hide Table of Contents

Struct TextSpan

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
Namespace: DotLang.CodeAnalysis.Text
Assembly: DotLang.dll
Syntax
public struct TextSpan

Constructors

| Improve this Doc View Source

TextSpan(Int32, Int32)

Declaration
public TextSpan(int start, int length)
Parameters
Type Name Description
System.Int32 start
System.Int32 length

Properties

| Improve this Doc View Source

End

Declaration
public int End { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Length

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Start

Declaration
public int Start { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

FromBounds(Int32, Int32)

Declaration
public static TextSpan FromBounds(int start, int end)
Parameters
Type Name Description
System.Int32 start
System.Int32 end
Returns
Type Description
TextSpan
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX