From d5e8da85b251e5cfad591176192fe875860f568a Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 13 Aug 2018 11:14:18 -0700 Subject: [PATCH] More code review feedback Commit migrated from https://github.com/dotnet/coreclr/commit/d5bb5d5b48feba48dbfe561c093a2b38e6f0e99d --- src/coreclr/src/debug/di/process.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/coreclr/src/debug/di/process.cpp b/src/coreclr/src/debug/di/process.cpp index c03332c..fffc6d9 100644 --- a/src/coreclr/src/debug/di/process.cpp +++ b/src/coreclr/src/debug/di/process.cpp @@ -2570,7 +2570,13 @@ COM_METHOD CordbProcess::GetContainingObject(CORDB_ADDRESS interiorPointer, ICor COM_METHOD CordbProcess::EnableGCNotificationEvents(BOOL fEnable) { - return this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable); + HRESULT hr = S_OK; + PUBLIC_API_BEGIN(this) + { + hr = this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable); + } + PUBLIC_API_END(hr); + return hr; } #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL -- 2.7.4