1 write to SpanStart
Microsoft.CodeAnalysis (1)
Text\TextChangeRangeExtensions.cs (1)
424SpanStart = spanStart;
11 references to SpanStart
Microsoft.CodeAnalysis (11)
Text\TextChangeRangeExtensions.cs (11)
171else if (newChange.SpanStart >= oldChange.NewEnd() + oldDelta) 180else if (newChange.SpanStart < oldChange.Span.Start + oldDelta) 199var newChangeLeadingDeletion = oldChange.Span.Start + oldDelta - newChange.SpanStart; 200adjustAndAddNewChange(builder, oldDelta, new UnadjustedNewChange(newChange.SpanStart, newChangeLeadingDeletion, newLength: 0)); 204else if (newChange.SpanStart > oldChange.Span.Start + oldDelta) 222var oldChangeLeadingInsertion = newChange.SpanStart - (oldChange.Span.Start + oldDelta); 226oldChange = new TextChangeRange(new TextSpan(newChange.SpanStart - oldDelta, oldChange.Span.Length - oldChangeLeadingDeletion), oldChange.NewLength - oldChangeLeadingInsertion); 232Debug.Assert(newChange.SpanStart == oldChange.Span.Start + oldDelta); 380add(builder, new TextChangeRange(new TextSpan(newChange.SpanStart - oldDelta, newChange.SpanLength), newChange.NewLength)); 411/// resulting in a temporary unadjusted new change whose <see cref="SpanStart"/> is negative (not valid) until it is adjusted. 420public int SpanEnd => SpanStart + SpanLength;