/// <summary> /// Converts an object address to an <c>ICorDebugObjectValue</c> object. /// </summary> /// <param name="addr"> /// The object address. /// </param> /// <param name="ppObject"> /// A pointer to the address of an <c>ICorDebugObjectValue</c> object. /// </param> /// <remarks> /// If <c>addr</c> does not point to a valid managed object, /// the <c>GetObject</c> method returns <c>E_FAIL</c>. /// </remarks> public int GetObject(ulong addr, out CorDebugObjectValue ppObject) { void **ptr = default; int hResult = Calli(_this, This[0]->GetObject, addr, &ptr); ComFactory.Create(ptr, hResult, out ppObject); return(hResult); }
public int GetContext(out CorDebugObjectValue context) => InvokeGetObject(_this, This[0]->GetContext, out context);