1 write to SpanStart
Microsoft.CodeAnalysis (1)
Text\TextChangeRangeExtensions.cs (1)
424
SpanStart
= spanStart;
11 references to SpanStart
Microsoft.CodeAnalysis (11)
Text\TextChangeRangeExtensions.cs (11)
171
else if (newChange.
SpanStart
>= oldChange.NewEnd() + oldDelta)
180
else if (newChange.
SpanStart
< oldChange.Span.Start + oldDelta)
199
var newChangeLeadingDeletion = oldChange.Span.Start + oldDelta - newChange.
SpanStart
;
200
adjustAndAddNewChange(builder, oldDelta, new UnadjustedNewChange(newChange.
SpanStart
, newChangeLeadingDeletion, newLength: 0));
204
else if (newChange.
SpanStart
> oldChange.Span.Start + oldDelta)
222
var oldChangeLeadingInsertion = newChange.
SpanStart
- (oldChange.Span.Start + oldDelta);
226
oldChange = new TextChangeRange(new TextSpan(newChange.
SpanStart
- oldDelta, oldChange.Span.Length - oldChangeLeadingDeletion), oldChange.NewLength - oldChangeLeadingInsertion);
232
Debug.Assert(newChange.
SpanStart
== oldChange.Span.Start + oldDelta);
380
add(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.
420
public int SpanEnd =>
SpanStart
+ SpanLength;