20 references to Count
Microsoft.Build.Engine (20)
Engine\Engine.cs (10)
1638else if (engineCommands.Count > 0) 1642else if (buildRequests.Count > 0) 1646else if (taskOutputUpdates.Count > 0) 1675introspector.DetectDeadlock(buildRequests.Count + this.taskOutputUpdates.Count, 1819buildRequests.Count == 0 && taskOutputUpdates.Count == 0 && 2042if (this.numberOfProjectsInProgress == 0 && this.buildRequests.Count == 0) 3018NodeStatus nodeStatus = new NodeStatus(requestId, true, buildRequests.Count + taskOutputUpdates.Count,
Engine\EngineLoggingServices.cs (2)
215if (loggingQueueOfBuildEvents.Count > flushQueueSize || loggingQueueOfNodeEvents.Count > flushQueueSize)
LocalProvider\LocalNodeCallback.cs (3)
92while (!writerThreadHasExited && nodeCommandQueue.Count > 0) 142ErrorUtilities.VerifyThrow(nodeCommandQueue.Count == 0, "Expect all event to be flushed"); 326while (blockUntilSent && !writerThreadHasExited && nodeHiPriCommandQueue.Count > 0)
LocalProvider\SharedMemory.cs (5)
470while ((objectsToWrite.Count > 0 || objectsToWriteHiPriority.Count > 0) && 478while (!isFull && (objectsToWrite.Count > 0 || objectsToWriteHiPriority.Count > 0)) 482DualQueue<LocalCallDescriptor> currentQueue = objectsToWriteHiPriority.Count > 0 ? objectsToWriteHiPriority : objectsToWrite;