public int GetQueueSize(ParserPriority priority) { CheckDisposed(); lock (SyncRoot) return m_queueCounts[(int) priority]; }