2 instantiations of ChangedText
Microsoft.CodeAnalysis (2)
Text\ChangedText.cs (1)
160
return new
ChangedText
(this, changed._newText, changed._info.ChangeRanges);
Text\SourceText.cs (1)
828
return new
ChangedText
(this, newText, changeRanges.ToImmutable());
4 references to ChangedText
Microsoft.CodeAnalysis (4)
Text\ChangedText.cs (4)
30
_info = new ChangeInfo(changeRanges, new WeakReference<SourceText>(oldText), (oldText as
ChangedText
)?._info);
157
var
changed = _newText.WithChanges(changes) as
ChangedText
;
223
private static IReadOnlyList<ImmutableArray<TextChangeRange>> GetChangesBetween(SourceText oldText,
ChangedText
newText)