10 writes to _count
PresentationFramework (10)
MS\Internal\Data\CompositeCollectionView.cs (10)
73_count = CountDeep(_collection.Count); 429++_count; 435--_count; 446_count += cc.ViewCount; 453_count -= cc.ViewCount; 513_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 514_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 627_count = 0; // OnCollectionChanged(arg) below will raise PropChange for Count 678_count = -1; 1062_count = count;
16 references to _count
PresentationFramework (16)
MS\Internal\Data\CompositeCollectionView.cs (16)
71if (_count == -1) 76return _count; 97if (_count < 0) // if count cache is invalid 109return (_count == 0); 428if (_count >= 0) 434if (_count >= 0) 445if (_count >= 0) 452if (_count >= 0) 511if (_count >= 0) 942if (_count >= 0 && flatIndex >= _count) 1060bool countChanged = (_count != count && _count >= 0); 1081Invariant.Assert(_count < 0 || proposed <= _count); 1370if (_count != 0) // unknown or HasItems