[Mono-list] Fix to the problem with CodeDom

Alfonso Ali isa@infomed.sld.cu
Thu, 20 Feb 2003 00:44:57 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0061_01C2D879.4AC0FFC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi everyone!!,

the attached patch must fix the problem 

Ali


------=_NextPart_000_0061_01C2D879.4AC0FFC0
Content-Type: application/octet-stream;
	name="CodeDom.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="CodeDom.patch"

--- =
mono-20-Jan-03/mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs	=
2002-05-28 02:59:57.000000000 -0400=0A=
+++ =
compile/mono-20-Jan-03/mcs/class/System/System.CodeDom.Compiler/CodeGener=
ator.cs	2003-02-19 23:58:07.000000000 -0500=0A=
@@ -873,6 +873,11 @@=0A=
 					GenerateField( field );=0A=
 					continue;=0A=
 				}=0A=
+				CodeEntryPointMethod epmethod =3D member as CodeEntryPointMethod;=0A=
+				if ( epmethod !=3D null ) {=0A=
+					GenerateEntryPointMethod( epmethod, type );=0A=
+					continue;=0A=
+				}=0A=
 				CodeMemberMethod method =3D member as CodeMemberMethod;=0A=
 				if ( method !=3D null ) {=0A=
 					GenerateMethod( method, type );=0A=

------=_NextPart_000_0061_01C2D879.4AC0FFC0--