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)
52return ref _string._inlineSpan[_charIndex]; 68if (newCharIndex < _string._inlineSpan.Length) 188if (_inlineSpan.SequenceCompareTo(other.AsSpan(0, _inlineSpan.Length)) != 0) 195int otherStart = _inlineSpan.Length; 221if (_inlineSpan.Length == Length) 229return _inlineSpan.ToString(); 232if (_inlineSpan.IsEmpty && _spans?[0].Length == Length) 245if (!_inlineSpan.IsEmpty) 247fixed (char* sourcePtr = _inlineSpan) 249Unsafe.CopyBlockUnaligned(destPtr, sourcePtr, 2 * (uint)_inlineSpan.Length); 251destPtr += _inlineSpan.Length; 288if (_inlineSpan.Length == Length) 290return _inlineSpan == str.AsSpan(); 292if (_inlineSpan.IsEmpty && _spans?.Count == 1 && _spans[0].Length == Length) 325fixed (char* charPtr = _inlineSpan) 327hash = GetHashCodeHelper(charPtr, _inlineSpan.Length, hash, ref hashedOddNumberOfCharacters);