예제 #1
0
        //
        // IEnumerator interface
        //
        public bool MoveNext()
        {
            ICorDebugCode[] 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
 public void Reset()
 {
     m_enum.Reset();
     m_c = null;
 }
예제 #3
0
 public void Skip(uint celt)
 {
     m_enum.Skip(celt);
     m_c = null;
 }
예제 #4
0
파일: Thread.cs 프로젝트: Orvid/Cosmos
 public void Reset()
 {
     m_enum.Reset();
     m_c = null;
 }
예제 #5
0
파일: Thread.cs 프로젝트: Orvid/Cosmos
 public void Skip(uint celt)
 {
     m_enum.Skip(celt);
     m_c = null;
 }
예제 #6
0
파일: Thread.cs 프로젝트: Orvid/Cosmos
 //
 // IEnumerator interface
 //
 public bool MoveNext()
 {
     ICorDebugCode[] 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;
 }