1 write to UnderlyingText
Microsoft.CodeAnalysis (1)
Text\SubText.cs (1)
31UnderlyingText = text;
9 references to UnderlyingText
Microsoft.CodeAnalysis (9)
Text\SubText.cs (9)
35public override Encoding? Encoding => UnderlyingText.Encoding; 45get { return this.UnderlyingText.StorageSize; } 50get { return this.UnderlyingText.StorageKey; } 62return UnderlyingText[UnderlyingSpan.Start + position]; 70return UnderlyingText.ToString(GetCompositeSpan(span.Start, span.Length)); 77return new SubText(UnderlyingText, GetCompositeSpan(span.Start, span.Length)); 83UnderlyingText.CopyTo(span.Start, destination, destinationIndex, span.Length); 88int compositeStart = Math.Min(UnderlyingText.Length, UnderlyingSpan.Start + start); 89int compositeEnd = Math.Min(UnderlyingText.Length, compositeStart + length);