//
        // IEnumerator interface
        //
        public bool MoveNext()
        {
            ICorDebugAssembly[] a = new ICorDebugAssembly[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_asm = new DebuggedAssembly(a[0]);
            }
            else
            {
                m_asm = null;
            }
            return(m_asm != null);
        }
 public void Reset()
 {
     m_enum.Reset();
     m_asm = null;
 }
Example #3
0
 public DebuggedAssemblyEventArgs(DebuggedAppDomain ad,
                                  DebuggedAssembly assembly)
     : base(ad)
 {
     m_assembly = assembly;
 }