This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
Type system entities that produce code or EETypes need to be owned by the CompilerTypeSystemContext so that we can match/reconcile them between the scanning and code generation phases.
This includes
Reflection invoke stubs
Various interop types and methods
We currently e.g. can't do fixed slot assignments to virtual methods on interop's delegate wrappers. Similar problems will arise for e.g. reflection invoke stubs and their generic dictionary layout (once we start inlining generic dictionary lookups).
Type system entities that produce code or EETypes need to be owned by the
CompilerTypeSystemContext
so that we can match/reconcile them between the scanning and code generation phases.This includes
We currently e.g. can't do fixed slot assignments to virtual methods on interop's delegate wrappers. Similar problems will arise for e.g. reflection invoke stubs and their generic dictionary layout (once we start inlining generic dictionary lookups).