public bool TryGetStack(out StackEntry stack) { if (HasStack()) { stack = GetStack(); return(true); } stack = default(StackEntry); return(false); }
public bool MoveNext() { if (_reader.HasStack()) { Current = _reader.GetStack(); return(true); } else { return(false); } }
public Enumerator(StackReader reader) { Current = default(StackEntry); _reader = reader; }