10 writes to _count
PresentationFramework (10)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (10)
89_count = CountDeep(_collection.Count); 454++_count; 460--_count; 471_count += cc.ViewCount; 478_count -= cc.ViewCount; 538_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 539_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 655_count = 0; // OnCollectionChanged(arg) below will raise PropChange for Count 706_count = -1; 1095_count = count;
16 references to _count
PresentationFramework (16)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (16)
87if (_count == -1) 92return _count; 113if (_count < 0) // if count cache is invalid 125return (_count == 0); 453if (_count >= 0) 459if (_count >= 0) 470if (_count >= 0) 477if (_count >= 0) 536if (_count >= 0) 975if (_count >= 0 && flatIndex >= _count) 1093bool countChanged = (_count != count && _count >= 0); 1114Invariant.Assert(_count < 0 || proposed <= _count); 1404if (_count != 0) // unknown or HasItems