//
        // IEnumerator interface
        //
        public bool MoveNext()
        {
            ICorDebugModule[] a = new ICorDebugModule[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_mod = new DebuggedModule(a[0]);
            }
            else
            {
                m_mod = null;
            }
            return(m_mod != null);
        }
 public void Reset()
 {
     m_enum.Reset();
     m_mod = null;
 }
示例#3
0
 public UpdateModuleSymbolsEventArgs(DebuggedAppDomain ad,
                                     DebuggedModule module, IStream stream)
     : base(ad, module)
 {
     m_stream = stream;
 }
示例#4
0
 public DebuggedModuleEventArgs(DebuggedAppDomain ad, DebuggedModule module)
     : base(ad)
 {
     m_module = module;
 }