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