[Mono-bugs] [Bug 388977] generic_params table error when compiling code that references an assembly with generics
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat May 10 01:36:42 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=388977
User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=388977#c5
--- Comment #5 from Raja Harinath <harinath at hurrynot.org> 2008-05-09 23:36:39 MST ---
>From ECMA 335, Partition II, Section 22.20 (GenericParam), in the metadata
validity section, we have:
4. Every generic method shall own one row in the GenericParam table for each
of
its generic parameters [ERROR]
So, there is probably a metadata validity violation, which is up to VMWare to
address.
I see two options for the runtime to handle such assemblies
a. throw a BadImageFormat or a TypeLoad exception
b. forge on, by conning up some fake generic param entries
- assume no variance, and no constraints
- use the parameter number as the name
Option b seems to be what .NET chooses.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list