2
// <copyright see="prj:///doc/copyright.txt"/>
3
// <license see="prj:///doc/license.txt"/>
4
// <owner name="Oakland Software Incorporated" email="general@oaklandsoftware.com"/>
5
// <version>$Revision$</version>
9
using System.Collections;
12
namespace NoGoop.Debug
14
public class EnumHolder : IEnumerator
16
protected ICorDebugAppDomainEnum _debugEnum;
17
protected int _position;
18
protected uint _count;
19
protected ICorDebugAppDomain _current;
21
public EnumHolder(ICorDebugAppDomainEnum debugEnum)
23
_debugEnum = debugEnum;
24
_count = _debugEnum.GetCount();
27
public Object Current {
33
public bool MoveNext()
35
uint gotNum = _debugEnum.Next(1, out _current);
37
if (_position > _count)