summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Nattress <nattress@gmail.com>2018-08-12 17:09:55 -0700
committerJan Kotas <jkotas@microsoft.com>2018-08-12 17:09:55 -0700
commit8589689bc34eb7fab6b33c88505bb041de9e9995 (patch)
treebd4658394b1c31f450619a79d3baede7605fbe8d
parentd4738d1e9e9b50d00023eb4caca225812cabe285 (diff)
downloadcoreclr-8589689bc34eb7fab6b33c88505bb041de9e9995.tar.gz
coreclr-8589689bc34eb7fab6b33c88505bb041de9e9995.tar.bz2
coreclr-8589689bc34eb7fab6b33c88505bb041de9e9995.zip
Silence WinRT type assert in crossgen (#19442)
Disable type loader assert that fires when resolving a type from a WinMD. Instead, compilation should fail gracefully, or at runtime a type load exception will be thrown.
-rw-r--r--src/vm/assembly.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vm/assembly.cpp b/src/vm/assembly.cpp
index e5e70ad91c..24e086e672 100644
--- a/src/vm/assembly.cpp
+++ b/src/vm/assembly.cpp
@@ -1213,7 +1213,6 @@ Module * Assembly::FindModuleByTypeRef(
if (pModule->HasBindableIdentity(tkType))
#endif// FEATURE_COMINTEROP
{
- _ASSERTE(!IsAfContentType_WindowsRuntime(pModule->GetAssemblyRefFlags(tkType)));
if (loadFlag == Loader::SafeLookup)
{
pAssembly = pModule->LookupAssemblyRef(tkType);