2 writes to _lockCount
PresentationCore (2)
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
293_lockCount++; 317_lockCount--;
9 references to _lockCount
PresentationCore (9)
System\Windows\Media\Imaging\WriteableBitmap.cs (9)
158if (_lockCount == 0) 241if (_lockCount == UInt32.MaxValue) 246if (_lockCount == 0) 311if (_lockCount == 0) 315Invariant.Assert(_lockCount > 0, "Lock count should never be negative!"); 318if (_lockCount == 0) 328if (_lockCount == 0 && _hasDirtyRects) 582bool canFreeze = (_lockCount == 0) && base.FreezeCore(isChecking); 1293Debug.Assert(_lockCount == 0); // How else are we here?