Click or drag to resize

TextChange Class



Describes a single change when a particular span is replaced with a new text.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.TextTextChange

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 TextChange : ValueType, 
	IEquatable

The TextChange type exposes the following members.

Constructors
  NameDescription
Public methodTextChange
Initializes a new instance of TextChange
Top
Properties
  NameDescription
Public propertyNewText
The new text.
Public propertyStatic memberNoChanges
An empty set of changes.
Public propertySpan
The original span of the changed text.
Top
Methods
  NameDescription
Public methodEquals(Object)
Public methodEquals(TextChange)
Public methodGetHashCode
Public methodToString
Provides a string representation for TextChange.
Top
Operators
See Also