3 writes to _count
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Infrastructure\ResourceCounter.cs (3)
47
var prev = Interlocked.CompareExchange(ref
_count
, count + 1, count);
62
Interlocked.Decrement(ref
_count
);
71
set =>
_count
= value;
3 references to _count
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Infrastructure\ResourceCounter.cs (3)
41
var count =
_count
;
64
Debug.Assert(
_count
>= 0, "Resource count is negative. More resources were released than were locked.");
70
get =>
_count
;