コード例 #1
0
        //
        // 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);
        }
コード例 #2
0
        //
        // 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;
        }
コード例 #3
0
 public void Skip(uint celt)
 {
     m_enum.Skip(celt);
     m_c = null;
 }
コード例 #4
0
 public void Reset()
 {
     m_enum.Reset();
     m_c = null;
 }
コード例 #5
0
 public void Skip(uint celt)
 {
     m_enum.Skip(celt);
     m_c = null;
 }
コード例 #6
0
 public void Reset()
 {
     m_enum.Reset();
     m_c = null;
 }