10 writes to Count
PresentationFramework (10)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (10)
1536_cachedState.Count += deltaCount; 1546_cachedState.Count += count; 1577_cachedState.Count = 0; 1669state.Count = itemCount; 1676state.Count = 0; 1703state.ItemIndex = state.Count = ItemsInternal.Count; 2906state.Count += ItemCount; 2919state.Count -= state.Block.ItemCount; 2938state.Count += ItemCount; 2960state.Count -= state.Block.ItemCount;
5 references to Count
PresentationFramework (5)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (5)
1543if (offset < _cachedState.Count || 1544(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.Block)) 1550else if (offset < _cachedState.Count + _cachedState.Offset) 1556else if (offset == _cachedState.Count + _cachedState.Offset) 1576_cachedState.Offset += _cachedState.Count;