2 writes to _lockCount
PresentationCore (2)
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
293_lockCount++; 311_lockCount--;
8 references to _lockCount
PresentationCore (8)
System\Windows\Media\Imaging\WriteableBitmap.cs (8)
158if (_lockCount == 0) 241if (_lockCount == UInt32.MaxValue) 246if (_lockCount == 0) 305if (_lockCount == 0) 309Invariant.Assert(_lockCount > 0, "Lock count should never be negative!"); 312if (_lockCount == 0) 573bool canFreeze = (_lockCount == 0) && base.FreezeCore(isChecking); 1272Debug.Assert(_lockCount == 0); // How else are we here?