1 write to SpanStart
Microsoft.CodeAnalysis.CodeStyle (1)
TextChangeRangeExtensions.cs (1)
423
SpanStart
= spanStart;
11 references to SpanStart
Microsoft.CodeAnalysis.CodeStyle (11)
TextChangeRangeExtensions.cs (11)
170
else if (newChange.
SpanStart
>= oldChange.NewEnd() + oldDelta)
179
else if (newChange.
SpanStart
< oldChange.Span.Start + oldDelta)
198
var newChangeLeadingDeletion = oldChange.Span.Start + oldDelta - newChange.
SpanStart
;
199
adjustAndAddNewChange(builder, oldDelta, new UnadjustedNewChange(newChange.
SpanStart
, newChangeLeadingDeletion, newLength: 0));
203
else if (newChange.
SpanStart
> oldChange.Span.Start + oldDelta)
221
var oldChangeLeadingInsertion = newChange.
SpanStart
- (oldChange.Span.Start + oldDelta);
225
oldChange = new TextChangeRange(new TextSpan(newChange.
SpanStart
- oldDelta, oldChange.Span.Length - oldChangeLeadingDeletion), oldChange.NewLength - oldChangeLeadingInsertion);
231
Debug.Assert(newChange.
SpanStart
== oldChange.Span.Start + oldDelta);
379
add(builder, new TextChangeRange(new TextSpan(newChange.
SpanStart
- oldDelta, newChange.SpanLength), newChange.NewLength));
410
/// resulting in a temporary unadjusted new change whose <see cref="
SpanStart
"/> is negative (not valid) until it is adjusted.
419
public int SpanEnd =>
SpanStart
+ SpanLength;