10 writes to Count
PresentationFramework (10)
System\Windows\Controls\ItemContainerGenerator.cs (10)
1519_cachedState.Count += deltaCount; 1529_cachedState.Count += count; 1560_cachedState.Count = 0; 1652state.Count = itemCount; 1659state.Count = 0; 1686state.ItemIndex = state.Count = ItemsInternal.Count; 2893state.Count += ItemCount; 2906state.Count -= state.Block.ItemCount; 2925state.Count += ItemCount; 2947state.Count -= state.Block.ItemCount;
5 references to Count
PresentationFramework (5)
System\Windows\Controls\ItemContainerGenerator.cs (5)
1526if (offset < _cachedState.Count || 1527(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.Block)) 1533else if (offset < _cachedState.Count + _cachedState.Offset) 1539else if (offset == _cachedState.Count + _cachedState.Offset) 1559_cachedState.Offset += _cachedState.Count;