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)
158
if (
_lockCount
== 0)
241
if (
_lockCount
== UInt32.MaxValue)
246
if (
_lockCount
== 0)
305
if (
_lockCount
== 0)
309
Invariant.Assert(
_lockCount
> 0, "Lock count should never be negative!");
312
if (
_lockCount
== 0)
573
bool canFreeze = (
_lockCount
== 0) && base.FreezeCore(isChecking);
1272
Debug.Assert(
_lockCount
== 0); // How else are we here?