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 EnumB


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit EnumBuilder.cs,1.3,1.4 ILGenerator.cs,1.9,1.10 MethodBuilder.cs,1.6,1.7
Date: Sat, 05 Apr 2003 01:28:34 -0500

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

Modified Files:
        EnumBuilder.cs ILGenerator.cs MethodBuilder.cs 
Log Message:


Fix minor semantic compile errors discovered by csc.


Index: EnumBuilder.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/EnumBuilder.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** EnumBuilder.cs      22 Mar 2003 01:33:16 -0000      1.3
--- EnumBuilder.cs      5 Apr 2003 06:28:32 -0000       1.4
***************
*** 242,246 ****
        protected override bool HasElementTypeImpl()
                        {
!                               return builder.HasElementTypeImpl();
                        }
  
--- 242,246 ----
        protected override bool HasElementTypeImpl()
                        {
!                               throw new 
NotSupportedException(_("NotSupp_Builder"));
                        }
  

Index: ILGenerator.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/ILGenerator.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ILGenerator.cs      28 Mar 2003 01:04:15 -0000      1.9
--- ILGenerator.cs      5 Apr 2003 06:28:32 -0000       1.10
***************
*** 784,788 ****
                                // Determine if we can squash the instruction a 
bit more.
                                int index = lbuilder.index;
!                               if(opcode.value == 0xFE0C)                      
// "ldloc"
                                {
                                        if(index == 0)
--- 784,788 ----
                                // Determine if we can squash the instruction a 
bit more.
                                int index = lbuilder.index;
!                               if(opcode.value == unchecked((short)0xFE0C)) // 
"ldloc"
                                {
                                        if(index == 0)
***************
*** 807,811 ****
                                        }
                                }
!                               else if(opcode.value == 0xFE0D)         // 
"ldloca"
                                {
                                        if(index < 0x0100)
--- 807,811 ----
                                        }
                                }
!                               else if(opcode.value == 
unchecked((short)0xFE0D)) // "ldloca"
                                {
                                        if(index < 0x0100)
***************
*** 814,818 ****
                                        }
                                }
!                               else if(opcode.value == 0xFE0E)         // 
"stloc"
                                {
                                        if(index == 0)
--- 814,818 ----
                                        }
                                }
!                               else if(opcode.value == 
unchecked((short)0xFE0E)) // "stloc"
                                {
                                        if(index == 0)

Index: MethodBuilder.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/MethodBuilder.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MethodBuilder.cs    28 Mar 2003 01:04:15 -0000      1.6
--- MethodBuilder.cs    5 Apr 2003 06:28:32 -0000       1.7
***************
*** 509,513 ****
  
        // Get the string form of the signature of this method.
!       public override String Signature 
                        {
                                get
--- 509,513 ----
  
        // Get the string form of the signature of this method.
!       public String Signature 
                        {
                                get





reply via email to

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