Fail loading types with default interface methods for fragile ngen (dotnet/coreclr...
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Tue, 19 Feb 2019 12:47:50 +0000 (13:47 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Feb 2019 12:47:50 +0000 (13:47 +0100)
commitf255804ac0989c82c096cf47f1471d2446a1cfa5
treeee55a1b20ace30750550d239a617b3b35e617380
parent1e0f5c9e17fc91a96d439e0e4186180eb4d45898
Fail loading types with default interface methods for fragile ngen (dotnet/coreclr#22603)

We are not generating the right data structures for this. Since fragile crossgen is no longer a mainstream scenario, it's not worth the effort to add default interface methods support for it.

This avoids `!"Precode::GetPrecodeFromEntryPoint: Unexpected code in precode"` and similar issues.

Commit migrated from https://github.com/dotnet/coreclr/commit/388a7d415d8f5b45c3ca6e74d8b0885a20d0b962
src/coreclr/src/vm/classcompat.cpp
src/coreclr/src/vm/methodtablebuilder.cpp