Example #1
0
 internal Enumerator(PooledQueue <T> q)
 {
     _q              = q;
     _version        = q._version;
     _index          = -1;
     _currentElement = default;
 }
Example #2
0
 public QueueDebugView(PooledQueue <T> queue)
 {
     _queue = queue ?? throw new ArgumentNullException(nameof(queue));
 }