Partilhar via


Microsoft.CodeAnalysis.Text Namespace

Classes

SourceText

An abstraction of source text.

SourceTextContainer

An object that contains an instance of a SourceText and raises events when its current instance changes.

TextChangeEventArgs

Represents state for a TextChanged event.

TextLineCollection

Abstract base class for TextLine collections.

Structs

LinePosition

Immutable representation of a line number and position within a SourceText instance.

LinePositionSpan

Immutable span represented by a pair of line number and index within the line.

TextChange

Describes a single change when a particular span is replaced with a new text.

TextChangeRange

Represents the change to a span of text.

TextLine

Information about the character boundaries of a single line of text.

TextLineCollection.Enumerator
TextSpan

Immutable abstract representation of a span of text. For example, in an error diagnostic that reports a location, it could come from a parsed string, text from a tool editor buffer, etc.

Enums

SourceHashAlgorithm

Specifies a hash algorithms used for hashing source files.