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
While in .NET Framework the module type (<Module>) is always considered to be the first type in the TypeDef metadata table (i.e., token 0x02000001), .NET Core also checks whether this type is actually called <Module>. This behavior is currently not reflected in ModuleDefinition.GetModuleType() and derivatives.
AsmResolver Version
5.0.0
.NET Version
.NET 6.0
Operating System
Windows
Describe the Bug
While in .NET Framework the module type (
<Module>
) is always considered to be the first type in the TypeDef metadata table (i.e., token 0x02000001), .NET Core also checks whether this type is actually called<Module>
. This behavior is currently not reflected inModuleDefinition.GetModuleType()
and derivatives.How To Reproduce
With the following sample binaries:
ModuleCctor.zip
Run the following code:
Expected Behavior
Actual Behavior
Additional Context
No response
The text was updated successfully, but these errors were encountered: