diff options
Diffstat (limited to 'src/vm/comcallablewrapper.cpp')
-rw-r--r-- | src/vm/comcallablewrapper.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vm/comcallablewrapper.cpp b/src/vm/comcallablewrapper.cpp index 36208244a8..06a99e1c2f 100644 --- a/src/vm/comcallablewrapper.cpp +++ b/src/vm/comcallablewrapper.cpp @@ -4678,7 +4678,7 @@ BOOL ComMethodTable::LayOutInterfaceMethodTable(MethodTable* pClsMT) } else if (pClsMT != NULL) { - DispatchSlot impl(pClsMT->FindDispatchSlotForInterfaceMD(pIntfMD)); + DispatchSlot impl(pClsMT->FindDispatchSlotForInterfaceMD(pIntfMD, FALSE /* throwOnConflict */)); pClassMD = impl.GetMethodDesc(); } @@ -6494,7 +6494,8 @@ MethodDesc * ComCallWrapperTemplate::GetICustomQueryInterfaceGetInterfaceMD() if (m_pICustomQueryInterfaceGetInterfaceMD == NULL) m_pICustomQueryInterfaceGetInterfaceMD = m_thClass.GetMethodTable()->GetMethodDescForInterfaceMethod( - MscorlibBinder::GetMethod(METHOD__ICUSTOM_QUERYINTERFACE__GET_INTERFACE)); + MscorlibBinder::GetMethod(METHOD__ICUSTOM_QUERYINTERFACE__GET_INTERFACE), + TRUE /* throwOnConflict */); RETURN m_pICustomQueryInterfaceGetInterfaceMD; } |