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