3 writes to _spans
Microsoft.NET.StringTools (3)
InternableString.cs (3)
123
_spans
= null;
142
_spans
= null;
155
_spans
= stringBuilder.Spans;
15 references to _spans
Microsoft.NET.StringTools (15)
InternableString.cs (15)
54
ReadOnlyMemory<char> span = _string.
_spans
![_spanIndex];
77
if (_string.
_spans
!= null)
79
while (_spanIndex < _string.
_spans
.Count)
81
if (newCharIndex < _string.
_spans
[_spanIndex].Length)
193
if (
_spans
!= null)
196
foreach (ReadOnlyMemory<char> span in
_spans
)
232
if (_inlineSpan.IsEmpty &&
_spans
?[0].Length == Length)
234
return
_spans
[0].ToString();
254
if (
_spans
!= null)
256
foreach (ReadOnlyMemory<char> span in
_spans
)
292
if (_inlineSpan.IsEmpty &&
_spans
?.Count == 1 &&
_spans
[0].Length == Length)
294
return
_spans
[0].Span == str.AsSpan();
329
if (
_spans
!= null)
331
foreach (ReadOnlyMemory<char> span in
_spans
)