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)
202
if (
_lockCount
== 0)
291
if (
_lockCount
== UInt32.MaxValue)
296
if (
_lockCount
== 0)
361
if (
_lockCount
== 0)
365
Invariant.Assert(
_lockCount
> 0, "Lock count should never be negative!");
368
if (
_lockCount
== 0)
687
bool canFreeze = (
_lockCount
== 0) && base.FreezeCore(isChecking);
1505
Debug.Assert(
_lockCount
== 0); // How else are we here?