summaryrefslogtreecommitdiff
path: root/src/vm/classcompat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/classcompat.cpp')
-rw-r--r--src/vm/classcompat.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vm/classcompat.cpp b/src/vm/classcompat.cpp
index 031604bc8e..fb97a79e85 100644
--- a/src/vm/classcompat.cpp
+++ b/src/vm/classcompat.cpp
@@ -31,7 +31,6 @@
#include "fieldmarshaler.h"
#include "cgensys.h"
#include "gcheaputilities.h"
-#include "security.h"
#include "dbginterface.h"
#include "comdelegate.h"
#include "sigformat.h"
@@ -54,7 +53,6 @@
#include "clrtocomcall.h"
#include "runtimecallablewrapper.h"
-#include "listlock.inl"
#include "generics.h"
#include "contractimpl.h"
@@ -1308,11 +1306,6 @@ VOID MethodTableBuilder::BuildInteropVTable_PlaceVtableMethods(
// The interface we are attempting to place
MethodTable *pInterface = pCurItfInfo->m_pMethodTable;
- _ASSERTE(!(pCurItfInfo->IsDeclaredOnClass() &&
- !pInterface->IsExternallyVisible() &&
- pInterface->GetAssembly() != bmtType->pModule->GetAssembly() &&
- !Security::CanSkipVerification(GetAssembly()->GetDomainAssembly())));
-
// Did we place this interface already due to the parent class's interface placement?
if (pCurItfInfo->GetInteropStartSlot() != MethodTable::NO_SLOT)
{