1 write to NewLength
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\Text\TextChangeRangeExtensions.cs (1)
426NewLength = newLength;
5 references to NewLength
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\Text\TextChangeRangeExtensions.cs (5)
156else if (newChange.SpanLength == 0 && newChange.NewLength == 0) 201newChange = new UnadjustedNewChange(oldChange.Span.Start + oldDelta, newChange.SpanLength - newChangeLeadingDeletion, newChange.NewLength); 267newChange = new UnadjustedNewChange(newChange.SpanEnd, spanLength: 0, newChange.NewLength); 311newChange = new UnadjustedNewChange(oldChange.Span.Start + oldDelta, newDeletion, newChange.NewLength); 380add(builder, new TextChangeRange(new TextSpan(newChange.SpanStart - oldDelta, newChange.SpanLength), newChange.NewLength));