2 writes to _lockCount
PresentationCore (2)
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
294_lockCount++; 312_lockCount--;
8 references to _lockCount
PresentationCore (8)
System\Windows\Media\Imaging\WriteableBitmap.cs (8)
159if (_lockCount == 0) 242if (_lockCount == UInt32.MaxValue) 247if (_lockCount == 0) 306if (_lockCount == 0) 310Invariant.Assert(_lockCount > 0, "Lock count should never be negative!"); 313if (_lockCount == 0) 591bool canFreeze = (_lockCount == 0) && base.FreezeCore(isChecking); 1291Debug.Assert(_lockCount == 0); // How else are we here?