10 writes to Count
PresentationFramework (10)
System\Windows\Controls\ItemContainerGenerator.cs (10)
1522_cachedState.Count += deltaCount; 1532_cachedState.Count += count; 1563_cachedState.Count = 0; 1655state.Count = itemCount; 1662state.Count = 0; 1689state.ItemIndex = state.Count = ItemsInternal.Count; 2892state.Count += ItemCount; 2905state.Count -= state.Block.ItemCount; 2924state.Count += ItemCount; 2946state.Count -= state.Block.ItemCount;
5 references to Count
PresentationFramework (5)
System\Windows\Controls\ItemContainerGenerator.cs (5)
1529if (offset < _cachedState.Count || 1530(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.Block)) 1536else if (offset < _cachedState.Count + _cachedState.Offset) 1542else if (offset == _cachedState.Count + _cachedState.Offset) 1562_cachedState.Offset += _cachedState.Count;