10 writes to _count
PresentationFramework (10)
MS\Internal\Data\CompositeCollectionView.cs (10)
74_count = CountDeep(_collection.Count); 431++_count; 437--_count; 448_count += cc.ViewCount; 455_count -= cc.ViewCount; 515_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 516_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 630_count = 0; // OnCollectionChanged(arg) below will raise PropChange for Count 681_count = -1; 1069_count = count;
16 references to _count
PresentationFramework (16)
MS\Internal\Data\CompositeCollectionView.cs (16)
72if (_count == -1) 77return _count; 98if (_count < 0) // if count cache is invalid 110return (_count == 0); 430if (_count >= 0) 436if (_count >= 0) 447if (_count >= 0) 454if (_count >= 0) 513if (_count >= 0) 949if (_count >= 0 && flatIndex >= _count) 1067bool countChanged = (_count != count && _count >= 0); 1088Invariant.Assert(_count < 0 || proposed <= _count); 1377if (_count != 0) // unknown or HasItems