3 writes to _inlineSpan
Microsoft.NET.StringTools (3)
InternableString.cs (3)
122
_inlineSpan
= span;
141
_inlineSpan
= str.AsSpan();
154
_inlineSpan
= default(ReadOnlySpan<char>);
17 references to _inlineSpan
Microsoft.NET.StringTools (17)
InternableString.cs (17)
52
return ref _string.
_inlineSpan
[_charIndex];
68
if (newCharIndex < _string.
_inlineSpan
.Length)
188
if (
_inlineSpan
.SequenceCompareTo(other.AsSpan(0,
_inlineSpan
.Length)) != 0)
195
int otherStart =
_inlineSpan
.Length;
221
if (
_inlineSpan
.Length == Length)
229
return
_inlineSpan
.ToString();
232
if (
_inlineSpan
.IsEmpty && _spans?[0].Length == Length)
245
if (!
_inlineSpan
.IsEmpty)
247
fixed (char* sourcePtr =
_inlineSpan
)
249
Unsafe.CopyBlockUnaligned(destPtr, sourcePtr, 2 * (uint)
_inlineSpan
.Length);
251
destPtr +=
_inlineSpan
.Length;
288
if (
_inlineSpan
.Length == Length)
290
return
_inlineSpan
== str.AsSpan();
292
if (
_inlineSpan
.IsEmpty && _spans?.Count == 1 && _spans[0].Length == Length)
325
fixed (char* charPtr =
_inlineSpan
)
327
hash = GetHashCodeHelper(charPtr,
_inlineSpan
.Length, hash, ref hashedOddNumberOfCharacters);