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