diff options
Diffstat (limited to 'src/vm/comtoclrcall.cpp')
-rw-r--r-- | src/vm/comtoclrcall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/comtoclrcall.cpp b/src/vm/comtoclrcall.cpp index df1ba64a8e..5c275f025e 100644 --- a/src/vm/comtoclrcall.cpp +++ b/src/vm/comtoclrcall.cpp @@ -356,8 +356,8 @@ OBJECTREF COMToCLRGetObjectAndTarget_Virtual(ComCallWrapper * pWrap, MethodDesc OBJECTREF pObject = pWrap->GetObjectRef(); MethodTable *pMT = pObject->GetMethodTable(); - - if (pMT->IsTransparentProxy() || pRealMD->IsInterface()) + + if (pRealMD->IsInterface()) { // For transparent proxies, we need to call on the interface method desc if // this method represents an interface method and not an IClassX method. |