diff options
author | Simon Nattress <nattress@gmail.com> | 2018-08-12 17:09:55 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-08-12 17:09:55 -0700 |
commit | 8589689bc34eb7fab6b33c88505bb041de9e9995 (patch) | |
tree | bd4658394b1c31f450619a79d3baede7605fbe8d | |
parent | d4738d1e9e9b50d00023eb4caca225812cabe285 (diff) | |
download | coreclr-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.cpp | 1 |
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); |