summaryrefslogtreecommitdiff
path: root/src/vm/typehandle.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-11-09 17:49:12 -0800
committerGitHub <noreply@github.com>2018-11-09 17:49:12 -0800
commitff5723233e6b4df6fe441b2ba453506f860aebe9 (patch)
tree3c2eea0456a47012ef7488fdd3a82e349d098b94 /src/vm/typehandle.cpp
parent3464b60b85c8e10d69d8da86d2eb3f9e7aaa7c4b (diff)
downloadcoreclr-ff5723233e6b4df6fe441b2ba453506f860aebe9.tar.gz
coreclr-ff5723233e6b4df6fe441b2ba453506f860aebe9.tar.bz2
coreclr-ff5723233e6b4df6fe441b2ba453506f860aebe9.zip
Delete dead/unreachable code related to remoting (#20880)
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