10 writes to Count
PresentationFramework (10)
System\Windows\Controls\ItemContainerGenerator.cs (10)
1518_cachedState.Count += deltaCount; 1528_cachedState.Count += count; 1559_cachedState.Count = 0; 1651state.Count = itemCount; 1658state.Count = 0; 1685state.ItemIndex = state.Count = ItemsInternal.Count; 2890state.Count += ItemCount; 2903state.Count -= state.Block.ItemCount; 2922state.Count += ItemCount; 2944state.Count -= state.Block.ItemCount;
5 references to Count
PresentationFramework (5)
System\Windows\Controls\ItemContainerGenerator.cs (5)
1525if (offset < _cachedState.Count || 1526(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.Block)) 1532else if (offset < _cachedState.Count + _cachedState.Offset) 1538else if (offset == _cachedState.Count + _cachedState.Offset) 1558_cachedState.Offset += _cachedState.Count;