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

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

[Dotgnu-pnet-commits] CVS: pnet/image synthetic.c,1.8,1.9


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image synthetic.c,1.8,1.9
Date: Wed, 19 Feb 2003 01:21:44 -0500

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv21878/image

Modified Files:
        synthetic.c 
Log Message:


Don't inherit synthetic generic types from "System.ValueType".


Index: synthetic.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/synthetic.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** synthetic.c 19 Feb 2003 04:54:33 -0000      1.8
--- synthetic.c 19 Feb 2003 06:21:40 -0000      1.9
***************
*** 510,518 ****
                                                        
synthetic->memStack.posn));
  
!       /* Inherit the class off "System.ValueType" */
!       parent = ILClassResolveSystem(image, 0, "ValueType", "System");
!       if(!parent)
        {
!               return 0;
        }
        info = CreateSynthetic(synthetic, name, parent, 1);
--- 510,525 ----
                                                        
synthetic->memStack.posn));
  
!       /* Inherit the class off "System.ValueType" unless it is a generic type 
*/
!       if(ILType_IsWith(type))
        {
!               parent = 0;
!       }
!       else
!       {
!               parent = ILClassResolveSystem(image, 0, "ValueType", "System");
!               if(!parent)
!               {
!                       return 0;
!               }
        }
        info = CreateSynthetic(synthetic, name, parent, 1);





reply via email to

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