You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
This will throw a MissingMetadataException because we never generated native layout for the IFoo<__Canon> interface, but the dispatch cell in Gen<__Canon>.DoFrob refers to it. We get away with this bug because normally something that implements this interface gets allocated with newobj. Not here.
I had some fix in mind, but I got pulled into other projects and don't have time to investigate size on disk impact. The fix is to make sure NativeLayoutInterfaceDispatchGenericDictionarySlotNode depends on the template for the interface type. We might want to pull that into the TemplateConstructableTypes helper?
This is the underlying issue for why the set of RD.XML workarounds from @sergiy-k in #4444 need to refer to specific instances of Microsoft.Extensions.Options.OptionsFactory[[shtik.ShtikOptions,shtik]] instead of just letting the type loader create the types at runtime.
This will throw a
MissingMetadataException
because we never generated native layout for theIFoo<__Canon>
interface, but the dispatch cell inGen<__Canon>.DoFrob
refers to it. We get away with this bug because normally something that implements this interface gets allocated withnewobj
. Not here.I had some fix in mind, but I got pulled into other projects and don't have time to investigate size on disk impact. The fix is to make sure
NativeLayoutInterfaceDispatchGenericDictionarySlotNode
depends on the template for the interface type. We might want to pull that into theTemplateConstructableTypes
helper?This is the underlying issue for why the set of RD.XML workarounds from @sergiy-k in #4444 need to refer to specific instances of
Microsoft.Extensions.Options.OptionsFactory[[shtik.ShtikOptions,shtik]]
instead of just letting the type loader create the types at runtime.The text was updated successfully, but these errors were encountered: