public override void CopyTo( int sourceIndex, char[] destination, int destinationIndex, int count ) { var span = GetCompositeSpan(sourceIndex, count); UnderlyingText.CopyTo(span.Start, destination, destinationIndex, span.Length); }
public override string ToString(TextSpan span) { CheckSubSpan(span); return(UnderlyingText.ToString(GetCompositeSpan(span.Start, span.Length))); }