2 instantiations of ChangedText
Microsoft.CodeAnalysis (2)
Text\ChangedText.cs (1)
160return new ChangedText(this, changed._newText, changed._info.ChangeRanges);
Text\SourceText.cs (1)
828return 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); 157var changed = _newText.WithChanges(changes) as ChangedText; 223private static IReadOnlyList<ImmutableArray<TextChangeRange>> GetChangesBetween(SourceText oldText, ChangedText newText)