10 writes to _count
PresentationFramework (10)
MS\Internal\Data\CompositeCollectionView.cs (10)
74_count = CountDeep(_collection.Count); 430++_count; 436--_count; 447_count += cc.ViewCount; 454_count -= cc.ViewCount; 514_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 515_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 628_count = 0; // OnCollectionChanged(arg) below will raise PropChange for Count 679_count = -1; 1063_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); 429if (_count >= 0) 435if (_count >= 0) 446if (_count >= 0) 453if (_count >= 0) 512if (_count >= 0) 943if (_count >= 0 && flatIndex >= _count) 1061bool countChanged = (_count != count && _count >= 0); 1082Invariant.Assert(_count < 0 || proposed <= _count); 1371if (_count != 0) // unknown or HasItems