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

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

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.26,1.27


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.26,1.27
Date: Wed, 20 Nov 2002 19:27:31 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv30488/cscc/csharp

Modified Files:
        cs_gather.c 
Log Message:


Interface overrides must be "final" if they aren't "virtual".


Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** cs_gather.c 16 Nov 2002 01:44:28 -0000      1.26
--- cs_gather.c 21 Nov 2002 00:27:29 -0000      1.27
***************
*** 769,773 ****
  
                /* Make sure that the final method is virtual */
!               newAttrs |= IL_META_METHODDEF_VIRTUAL | 
IL_META_METHODDEF_NEW_SLOT;
        }
  
--- 769,782 ----
  
                /* Make sure that the final method is virtual */
!               if((newAttrs & IL_META_METHODDEF_VIRTUAL) != 0)
!               {
!                       newAttrs |= IL_META_METHODDEF_NEW_SLOT;
!               }
!               else
!               {
!                       newAttrs |= IL_META_METHODDEF_VIRTUAL |
!                                               IL_META_METHODDEF_NEW_SLOT |
!                                               IL_META_METHODDEF_FINAL;
!               }
        }
  





reply via email to

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