ContainerObject -> ContainingObject
authorAndrew Au <andrewau@microsoft.com>
Thu, 17 May 2018 22:20:15 +0000 (15:20 -0700)
committerAndrew Au <cshung@gmail.com>
Wed, 7 Nov 2018 02:34:47 +0000 (18:34 -0800)
src/debug/di/process.cpp
src/debug/di/rspriv.h
src/inc/cordebug.idl
src/pal/prebuilt/inc/cordebug.h

index 8128fe7..04f63f8 100644 (file)
@@ -2529,7 +2529,7 @@ COM_METHOD CordbProcess::EnableExceptionCallbacksOutsideOfMyCode(BOOL enableExce
     return hr;
 }
 
-COM_METHOD CordbProcess::GetContainerObject(CORDB_ADDRESS interiorPointer, ICorDebugObjectValue** ppContainerObject)
+COM_METHOD CordbProcess::GetContainingObject(CORDB_ADDRESS interiorPointer, ICorDebugObjectValue** ppContainingObject)
 {
     HRESULT hr = S_OK;
     // TODO, databp, I don't know what I am doing, NO_LOCK doesn't sound right
@@ -2552,7 +2552,7 @@ COM_METHOD CordbProcess::GetContainerObject(CORDB_ADDRESS interiorPointer, ICorD
     {
         _ASSERTE(event.type == DB_IPCE_GET_CONTAINER_RESULT);
         CORDB_ADDRESS containerAddress = PTR_TO_CORDB_ADDRESS(event.GetContainerResult.answer);
-        hr = this->GetObject(containerAddress, ppContainerObject);
+        hr = this->GetObject(containerAddress, ppContainingObject);
     }
 
     PUBLIC_API_END(hr);
index 1e01c5c..868d6f6 100644 (file)
@@ -3165,7 +3165,7 @@ public:
     //-----------------------------------------------------------
     // ICorDebugProcess9
     //-----------------------------------------------------------
-    COM_METHOD GetContainerObject(CORDB_ADDRESS interiorPointer, ICorDebugObjectValue** ppContainerObject);
+    COM_METHOD GetContainingObject(CORDB_ADDRESS interiorPointer, ICorDebugObjectValue** ppContainingObject);
 
 #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL
     // ---------------------------------------------------------------
index dfba621..e016ad2 100644 (file)
@@ -3268,7 +3268,7 @@ interface ICorDebugProcess8 : IUnknown
 ]
 interface ICorDebugProcess9 : IUnknown
 {
-    HRESULT GetContainerObject([in] CORDB_ADDRESS interiorPointer, [out] ICorDebugObjectValue** ppContainerObject);
+    HRESULT GetContainingObject([in] CORDB_ADDRESS interiorPointer, [out] ICorDebugObjectValue** ppContainingObject);
 }
 
 // Event types MODULE_LOADED and MODULE_UNLOADED implement this interface
index 1b9fd21..b3d1612 100644 (file)
@@ -7840,9 +7840,9 @@ EXTERN_C const IID IID_ICorDebugProcess9;
     ICorDebugProcess9 : public IUnknown
     {
     public:
-        virtual HRESULT STDMETHODCALLTYPE GetContainerObject( 
+        virtual HRESULT STDMETHODCALLTYPE GetContainingObject( 
             /* [in] */ CORDB_ADDRESS interiorPointer,
-            /* [out] */ ICorDebugObjectValue **ppContainerObject) = 0;
+            /* [out] */ ICorDebugObjectValue **ppContainingObject) = 0;
         
     };
     
@@ -7865,10 +7865,10 @@ EXTERN_C const IID IID_ICorDebugProcess9;
         ULONG ( STDMETHODCALLTYPE *Release )( 
             ICorDebugProcess9 * This);
         
-        HRESULT ( STDMETHODCALLTYPE *GetContainerObject )( 
+        HRESULT ( STDMETHODCALLTYPE *GetContainingObject )( 
             ICorDebugProcess9 * This,
             /* [in] */ CORDB_ADDRESS interiorPointer,
-            /* [out] */ ICorDebugObjectValue **ppContainerObject);
+            /* [out] */ ICorDebugObjectValue **ppContainingObject);
         
         END_INTERFACE
     } ICorDebugProcess9Vtbl;
@@ -7893,8 +7893,8 @@ EXTERN_C const IID IID_ICorDebugProcess9;
     ( (This)->lpVtbl -> Release(This) ) 
 
 
-#define ICorDebugProcess9_GetContainerObject(This,interiorPointer,ppContainerObject)   \
-    ( (This)->lpVtbl -> GetContainerObject(This,interiorPointer,ppContainerObject) ) 
+#define ICorDebugProcess9_GetContainingObject(This,interiorPointer,ppContainingObject) \
+    ( (This)->lpVtbl -> GetContainingObject(This,interiorPointer,ppContainingObject) ) 
 
 #endif /* COBJMACROS */