MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Type references don't mark the target #100

Closed vitek-karas closed 2 years ago

vitek-karas commented 2 years ago

If there's a type reference to a type in a different module, we don't mark the type, only the module. So for example:

static void Main()
{
    var t = typeof(TypeFromDifferentAssembly);
}

This will not preserve the type and the type ref in the original assembly is unresolvable. Probably related https://github.com/MichalStrehovsky/iltrim/issues/90.