public int Next(out IMDThread ppThread) { if (m_curr < m_threads.Count) { ppThread = new MDThread(m_threads[m_curr++]); return(HRESULTS.S_OK); } else if (m_curr == m_threads.Count) { m_curr++; ppThread = null; return(HRESULTS.S_FALSE); } ppThread = null; return(HRESULTS.E_FAIL); }
public void GetFieldAddress(IMDAppDomain appDomain, IMDThread thread, out ulong pAddress) { pAddress = m_field.GetFieldAddress((ClrAppDomain)appDomain, (ClrThread)thread); }
public void GetFieldValue(IMDAppDomain appDomain, IMDThread thread, out IMDValue ppValue) { object value = m_field.GetFieldValue((ClrAppDomain)appDomain, (ClrThread)thread); ppValue = new MDValue(value, m_field.ElementType); }
public void GetFieldAddress(IMDAppDomain appDomain, IMDThread thread, out ulong pAddress) { pAddress = m_field.GetFieldAddress((ClrAppDomain)appDomain, (ClrThread)thread); }
public void GetFieldValue(IMDAppDomain appDomain, IMDThread thread, out IMDValue ppValue) { object value = m_field.GetFieldValue((ClrAppDomain)appDomain, (ClrThread)thread); ppValue = new MDValue(value, m_field.ElementType); }
public int Next(out IMDThread ppThread) { if (m_curr < m_threads.Count) { ppThread = new MDThread(m_threads[m_curr++]); return HRESULTS.S_OK; } else if (m_curr == m_threads.Count) { m_curr++; ppThread = null; return HRESULTS.S_FALSE; } ppThread = null; return HRESULTS.E_FAIL; }