8 writes to _queueCapacity
Microsoft.Build (8)
BackEnd\Components\Logging\LoggingService.cs (8)
359_queueCapacity = localQueueCapacity; 362_queueCapacity = Math.Max(0, _queueCapacity); 1406while (eventQueue.Count >= (capacity = Volatile.Read(ref _queueCapacity))) 1465get => Volatile.Read(ref _queueCapacity); 1466set => Volatile.Write(ref _queueCapacity, value); 1480long capacity = Volatile.Read(ref _queueCapacity); 1502if (Volatile.Read(ref _queueCapacity) != capacity) 1520Volatile.Write(ref _queueCapacity, grown);
1 reference to _queueCapacity
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingService.cs (1)
362_queueCapacity = Math.Max(0, _queueCapacity);