2 writes to _activeEnumeratorRefCount
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (2)
407
table.
_activeEnumeratorRefCount
++;
432
table.
_activeEnumeratorRefCount
--;
5 references to _activeEnumeratorRefCount
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (5)
190
if (
_activeEnumeratorRefCount
> 0)
406
Debug.Assert(table.
_activeEnumeratorRefCount
>= 0, "Should never have a negative ref count before incrementing");
433
Debug.Assert(table.
_activeEnumeratorRefCount
>= 0, "Should never have a negative ref count after decrementing");
760
if (_parent is null || _parent.
_activeEnumeratorRefCount
== 0)
808
bool activeEnumerators = _parent != null && _parent.
_activeEnumeratorRefCount
> 0;