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 Signat


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection/Emit SignatureHelper.cs, 1.6, 1.7 TypeBuilder.cs, 1.10, 1.11
Date: Fri, 08 Aug 2003 03:08:48 -0400

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

Modified Files:
        SignatureHelper.cs TypeBuilder.cs 
Log Message:


Update the internalcalls for type generics to match Gyro 1.0.


Index: SignatureHelper.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/SignatureHelper.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SignatureHelper.cs  25 Jul 2003 08:33:37 -0000      1.6
--- SignatureHelper.cs  8 Aug 2003 07:08:45 -0000       1.7
***************
*** 123,127 ****
                                                 CSToILType(mod, context, 
type.GetElementType()));
                                }
!                               else if(type.IsGenericType)
                                {
                                        throw new NotSupportedException
--- 123,128 ----
                                                 CSToILType(mod, context, 
type.GetElementType()));
                                }
!                               else if(type.HasGenericArguments ||
!                                               type.HasGenericParameters)
                                {
                                        throw new NotSupportedException

Index: TypeBuilder.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/Emit/TypeBuilder.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** TypeBuilder.cs      26 May 2003 05:03:41 -0000      1.10
--- TypeBuilder.cs      8 Aug 2003 07:08:45 -0000       1.11
***************
*** 1239,1249 ****
                        }
  
-       // Determine if this is a generic type.
-       protected override bool IsGenericTypeImpl()
-                       {
-                               // Cannot make generic types with a builder yet.
-                               return false;
-                       }
- 
        // Implement the IClrProgramItem interface.
        IntPtr IClrProgramItem.ClrHandle
--- 1239,1242 ----





reply via email to

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