1 write to SpanLength
Microsoft.CodeAnalysis (1)
Text\TextChangeRangeExtensions.cs (1)
425
SpanLength
= spanLength;
8 references to SpanLength
Microsoft.CodeAnalysis (8)
Text\TextChangeRangeExtensions.cs (8)
156
else if (newChange.
SpanLength
== 0 && newChange.NewLength == 0)
201
newChange = new UnadjustedNewChange(oldChange.Span.Start + oldDelta, newChange.
SpanLength
- newChangeLeadingDeletion, newChange.NewLength);
234
if (newChange.
SpanLength
<= oldChange.NewLength)
261
oldChange = new TextChangeRange(oldChange.Span, oldChange.NewLength - newChange.
SpanLength
);
264
oldDelta = oldDelta + newChange.
SpanLength
;
310
var newDeletion = newChange.
SpanLength
+ oldChange.Span.Length - oldChange.NewLength;
380
add(builder, new TextChangeRange(new TextSpan(newChange.SpanStart - oldDelta, newChange.
SpanLength
), newChange.NewLength));
420
public int SpanEnd => SpanStart +
SpanLength
;