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)
159
if (
_lockCount
== 0)
242
if (
_lockCount
== UInt32.MaxValue)
247
if (
_lockCount
== 0)
306
if (
_lockCount
== 0)
310
Invariant.Assert(
_lockCount
> 0, "Lock count should never be negative!");
313
if (
_lockCount
== 0)
591
bool canFreeze = (
_lockCount
== 0) && base.FreezeCore(isChecking);
1291
Debug.Assert(
_lockCount
== 0); // How else are we here?