[Mono-list] Re: +AFs-Mono-list+AF0- CVS status ofSystem.Reflection.Emit.ILGenerator.EmitCall

Igor Nosyryev nosyryev@attbi.com
Mon, 21 Apr 2003 13:13:11 -0400


Thank you very much, Miguel+ACE- I see this change and I am sure it will work.
But now I have the problem to compile corlib.dll from CVS. I updated the
source from anonymous CVS. I can see the change. But when I am using
+ACI-make -f makefile.gnu+ACI- in mcs directory I have following error:

make+AFs-2+AF0-: Entering directory +AGA-/mono-src/mcs/class/corlib'
MONO+AF8-PATH+AD0- mono ../../mcs/mcs.exe --target library --noconfig  -o
../../class/lib/corlib.dll --unsafe --nostdlib +AEA-.response
error CS0518: The predefined type
+AGA-System.Runtime.InteropServices.GuidAttribute' is not defined or imported

Any suggestions?

Thanks in advance.

Igor

----- Original Message -----
From: +ACI-Miguel de Icaza+ACI- +ADw-miguel+AEA-ximian.com+AD4-
To: +ACI-Igor Nosyryev+ACI- +ADw-nosyryev+AEA-attbi.com+AD4-
Cc: +ACI-mono-list+ACI- +ADw-mono-list+AEA-lists.ximian.com+AD4-
Sent: Sunday, April 20, 2003 4:42 PM
Subject: Re: +AFs-Mono-list+AF0- CVS status
ofSystem.Reflection.Emit.ILGenerator.EmitCall


+AD4- Hello,
+AD4-
+AD4- +AD4- I found that the class System.Reflection.Emit.ILGenerator is marked
+AD4- +AD4- 100+ACU- done in CVS. But the method EmitCall is defined as:
+AD4- +AD4-
+AD4- +AD4- public void EmitCall (OpCode opcode, MethodInfo methodinfo, Type+AFsAXQ-
+AD4- +AD4- optionalParamTypes) +AHs-
+AD4- +AD4- throw new NotImplementedException ()+ADs-
+AD4- +AD4- +AH0-
+AD4- +AD4-
+AD4- +AD4- Is this by design? Are there any plans to implement it? What is the
+AD4- +AD4- alternative if I am generating dynamic assemblies and I need only
+AD4- +AD4- managed calls?
+AD4-
+AD4- This is just method that has not been implemented.  I have not looked
+AD4- into what that routine does, but should be relatively simple to
+AD4- implement.
+AD4-
+AD4- The method is pretty easy to implement, I am checking in a version now.
+AD4-
+AD4- Miguel.
+AD4-