10 writes to _count
PresentationFramework (10)
MS\Internal\Data\CompositeCollectionView.cs (10)
82_count = CountDeep(_collection.Count); 439++_count; 445--_count; 456_count += cc.ViewCount; 463_count -= cc.ViewCount; 523_count -= oldCollectionContainer == null ? 1 : oldCollectionContainer.ViewCount; 524_count += newCollectionContainer == null ? 1 : newCollectionContainer.ViewCount; 638_count = 0; // OnCollectionChanged(arg) below will raise PropChange for Count 689_count = -1; 1077_count = count;
16 references to _count
PresentationFramework (16)
MS\Internal\Data\CompositeCollectionView.cs (16)
80if (_count == -1) 85return _count; 106if (_count < 0) // if count cache is invalid 118return (_count == 0); 438if (_count >= 0) 444if (_count >= 0) 455if (_count >= 0) 462if (_count >= 0) 521if (_count >= 0) 957if (_count >= 0 && flatIndex >= _count) 1075bool countChanged = (_count != count && _count >= 0); 1096Invariant.Assert(_count < 0 || proposed <= _count); 1385if (_count != 0) // unknown or HasItems