Click or drag to resize

TextChangeRange Class



Represents the change to a span of text.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.TextTextChangeRange

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

The TextChangeRange type exposes the following members.

Constructors
  NameDescription
Public methodTextChangeRange
Initializes a new instance of TextChangeRange.
Top
Properties
  NameDescription
Public propertyNewLength
Width of the span after the edit. A 0 here would represent a delete
Public propertyStatic memberNoChanges
An empty set of changes.
Public propertySpan
The span of text before the edit which is being changed
Top
Methods
  NameDescription
Public methodStatic memberCollapse
Public methodEquals(Object)
Compares current instance of TextChangeRange to another.
Public methodEquals(TextChangeRange)
Compares current instance of TextChangeRange to another.
Public methodGetHashCode
Provides hash code for current instance of TextChangeRange.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines if two instances of TextChangeRange are same.
Public operatorStatic memberInequality
Determines if two instances of TextChangeRange are different.
Top
See Also