public void GetAppDomain(out IMDAppDomain ppDomain) { if (m_handle.AppDomain != null) ppDomain = new MDAppDomain(m_handle.AppDomain); else ppDomain = null; }
public void GetAppDomain(out IMDAppDomain ppDomain) { if (m_handle.AppDomain != null) { ppDomain = new MDAppDomain(m_handle.AppDomain); } else { ppDomain = null; } }
public int Next(out IMDAppDomain ppAppDomain) { if (m_curr < m_refs.Count) { ppAppDomain = new MDAppDomain(m_refs[m_curr++]); return(HRESULTS.S_OK); } else if (m_curr == m_refs.Count) { m_curr++; ppAppDomain = null; return(HRESULTS.S_FALSE); } ppAppDomain = 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, out ulong pAddress) { ulong addr = m_field.GetFieldAddress((ClrAppDomain)appDomain); pAddress = addr; }
public int Next(out IMDAppDomain ppAppDomain) { if (m_curr < m_refs.Count) { ppAppDomain = new MDAppDomain(m_refs[m_curr++]); return HRESULTS.S_OK; } else if (m_curr == m_refs.Count) { m_curr++; ppAppDomain = null; return HRESULTS.S_FALSE; } ppAppDomain = null; return HRESULTS.E_FAIL; }