In short:
Adding a nested type to the using dnlib/Cecil/AsmResolver used to be supported until .NET 9. Currently, [.NET 9] applications that have a nested type in the , would just crash on startup due to unhandled BadImageFormatException
Issues & details:
1
2
Probably we have same issue, so it would simply throw the BadImageFormatException