2 writes to _lockCount
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
343_lockCount++; 367_lockCount--;
8 references to _lockCount
PresentationCore (8)
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (8)
202if (_lockCount == 0) 291if (_lockCount == UInt32.MaxValue) 296if (_lockCount == 0) 361if (_lockCount == 0) 365Invariant.Assert(_lockCount > 0, "Lock count should never be negative!"); 368if (_lockCount == 0) 687bool canFreeze = (_lockCount == 0) && base.FreezeCore(isChecking); 1505Debug.Assert(_lockCount == 0); // How else are we here?