[Mono-bugs] [Bug 33892][Min] Changed - Add module support to mcs

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Nov 2002 22:44:42 -0000

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.


--- shadow/33892	Sun Nov 17 05:44:51 2002
+++ shadow/33892.tmp.18739	Tue Nov 19 17:44:42 2002
@@ -74,6 +74,25 @@
 you to generate this code, but it is a TODO entry, we will be adding 
 internal call to our runtime to allow this to happen (it is a dynamic
 call, so it will fall back to unsupported on .NET gracefully)."
+------- Additional Comments From miguel@ximian.com  2002-11-19 17:44 -------
+I want to move this to the Mono runtime category, and have our
+reflection.emit library add support for modules.  Once that is done,
+the MCS support should be relatively easy.
+Paolo, I can do some of the work on Reflection to do this, but I will
+need a bit of guidance.
+My impression is that modules are just like assemblies, but they lack
+the manifest, right?
+I think we could achieve this in a sort-of-compatible-way by having a
+method in the AssemblyBuilder: `SetAssemblyToModule' which would turn
+the assembly into a module instead.  I know its kind of ugly, but I do
+not think that introducing a ModuleBuilder type is the right thing to
+do compatibility-wise.