Пример #1
0
 internal Enumerator(PooledStack <T> stack)
 {
     _stack          = stack;
     _version        = stack._version;
     _index          = -2;
     _currentElement = default;
 }
Пример #2
0
 public StackDebugView(PooledStack <T> stack)
 {
     _stack = stack ?? throw new ArgumentNullException(nameof(stack));
 }