7 writes to _length
Microsoft.AspNetCore.Razor.Utilities.Shared (7)
MemoryBuilder`1.cs (7)
46_length = 0; 61_length = value; 87_length = index + 1; 104_length = index + 1; 119_length = index + 1; 131_length += source.Length; 187_length--;
11 references to _length
Microsoft.AspNetCore.Razor.Utilities.Shared (11)
MemoryBuilder`1.cs (11)
51public readonly bool IsEmpty => _length == 0; 55readonly get => _length; 69Debug.Assert(index >= 0 && index < _length); 76=> _memory[.._length]; 81var index = _length; 98var index = _length; 115Debug.Assert(_length == _memory.Length); 116var index = _length; 125if ((uint)(_length + source.Length) > (uint)_memory.Length) 127Grow(_memory.Length - _length + source.Length); 130source.CopyTo(_memory.Span[_length..]);