// // IEnumerator interface // #region IEnumerator Members public bool MoveNext() { var a = new ICorDebugCode[1]; uint c = 0; int r = m_enum.Next((uint)a.Length, a, out c); if (r == 0 && c == 1) // S_OK && we got 1 new element { m_c = new CorCode(a[0]); } else { m_c = null; } return(m_c != null); }
// // IEnumerator interface // #region IEnumerator Members public bool MoveNext() { var a = new ICorDebugCode[1]; uint c = 0; int r = m_enum.Next((uint) a.Length, a, out c); if (r == 0 && c == 1) // S_OK && we got 1 new element m_c = new CorCode(a[0]); else m_c = null; return m_c != null; }
public void Skip(uint celt) { m_enum.Skip(celt); m_c = null; }
public void Reset() { m_enum.Reset(); m_c = null; }