dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit Module


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit ModuleBuilder.cs, 1.9, 1.10
Date: Wed, 23 Jul 2003 00:47:10 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit
In directory subversions:/tmp/cvs-serv4675/runtime/System/Reflection/Emit

Modified Files:
        ModuleBuilder.cs 
Log Message:
Use System.Object as the default parent for types


Index: ModuleBuilder.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/ModuleBuilder.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ModuleBuilder.cs    26 May 2003 05:03:41 -0000      1.9
--- ModuleBuilder.cs    23 Jul 2003 04:47:07 -0000      1.10
***************
*** 265,274 ****
                        {
                                return DefineType(name, 
TypeAttributes.NotPublic,
!                                                                 null, null, 
PackingSize.Unspecified, 0);
                        }
        public TypeBuilder DefineType(String name, TypeAttributes attr)
                        {
!                               return DefineType(name, attr, null, null,
!                                                                 
PackingSize.Unspecified, 0);
                        }
        public TypeBuilder DefineType(String name, TypeAttributes attr,
--- 265,277 ----
                        {
                                return DefineType(name, 
TypeAttributes.NotPublic,
!                                                                 
typeof(System.Object), null, 
!                                                                 
PackingSize.Unspecified, 0);
                        }
        public TypeBuilder DefineType(String name, TypeAttributes attr)
                        {
!                               return DefineType(name, attr, 
!                                                                       (attr & 
TypeAttributes.Interface)==0 ?
!                                                                               
typeof(System.Object) : null ,
!                                                                       null, 
PackingSize.Unspecified, 0);
                        }
        public TypeBuilder DefineType(String name, TypeAttributes attr,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]