2 writes to Count
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Buffers\ViewBuffer.cs (1)
352destinationPage.Count += page.Count;
Buffers\ViewBufferPage.cs (1)
25public void Append(ViewBufferValue value) => Buffer[Count++] = value;
13 references to Count
Microsoft.AspNetCore.Mvc.ViewFeatures (13)
Buffers\ViewBuffer.cs (12)
186for (var j = 0; j < page.Count; j++) 219for (var j = 0; j < page.Count; j++) 261for (var j = 0; j < page.Count; j++) 298for (var j = 0; j < page.Count; j++) 322Array.Clear(page.Buffer, 0, page.Count); 339var isLessThanHalfFull = 2 * page.Count <= page.Capacity; 342destinationPage.Capacity - destinationPage.Count >= page.Count) 349destinationIndex: destinationPage.Count, 350length: page.Count); 352destinationPage.Count += page.Count; 355Array.Clear(page.Buffer, 0, page.Count);
Buffers\ViewBufferPage.cs (1)
21public bool IsFull => Count == Capacity;