summaryrefslogtreecommitdiff
path: root/src/vm/typehandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/typehandle.cpp')
-rw-r--r--src/vm/typehandle.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vm/typehandle.cpp b/src/vm/typehandle.cpp
index 0b3f81f1ce..1d34f07890 100644
--- a/src/vm/typehandle.cpp
+++ b/src/vm/typehandle.cpp
@@ -488,12 +488,6 @@ BOOL TypeHandle::IsAbstract() const
return GetMethodTable()->IsAbstract();
}
-DWORD TypeHandle::IsTransparentProxy() const
-{
- WRAPPER_NO_CONTRACT;
- return FALSE;
-}
-
bool TypeHandle::IsHFA() const
{
WRAPPER_NO_CONTRACT;
@@ -732,9 +726,6 @@ BOOL TypeHandle::CanCastTo(TypeHandle type, TypeHandlePairList *pVisited) const
if (type.IsTypeDesc())
return(false);
- if (AsMethodTable()->IsTransparentProxy())
- return (false);
-
return AsMethodTable()->CanCastToClassOrInterface(type.AsMethodTable(), pVisited);
}
@@ -752,9 +743,6 @@ TypeHandle::CastResult TypeHandle::CanCastToNoGC(TypeHandle type) const
if (type.IsTypeDesc())
return(CannotCast);
- if (AsMethodTable()->IsTransparentProxy())
- return (CannotCast);
-
return AsMethodTable()->CanCastToClassOrInterfaceNoGC(type.AsMethodTable());
}
#include <optdefault.h>
@@ -1254,7 +1242,6 @@ OBJECTREF TypeHandle::GetManagedClassObject() const
if (!IsTypeDesc())
{
- _ASSERT(AsMethodTable()->IsTransparentProxy() == false);
return AsMethodTable()->GetManagedClassObject();
}
else