2003-09-17 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Wed, 17 Sep 2003 14:12:01 +0000 (14:12 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 17 Sep 2003 14:12:01 +0000 (14:12 -0000)
* TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
parameters to the type name; ie. use `Stack' instead of `Stack<T>'.

svn path=/trunk/mcs/; revision=18146

mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs

index c9f9583e4dbe123415e5bbf29e153132989bd13a..4264a6bfd7f731a3b740ba4859e7c6ab6f3cc177 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-17  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
+       parameters to the type name; ie. use `Stack' instead of `Stack<T>'.
+
 2003-09-06  Martin Baulig  <martin@ximian.com>
 
        * TypeBuilder.cs (TypeBuilder.IsUnboundGenericParameter): Implemented.
index 90551bdf1b735ea370cb859357ddd0c31e0ee4f3..54a31916dd21adec398c9db5823b72fa8d30afdf 100644 (file)
@@ -474,18 +474,6 @@ namespace System.Reflection.Emit {
                        /* handle nesting_type */
                        if (is_created)
                                throw not_after_created ();
-                       if (generic_params != null) {
-                               StringBuilder sb = new StringBuilder ("<");
-                               for (int i = 0; i < generic_params.Length; i++) {
-                                       if (i > 0)
-                                               sb.Append (",");
-                                       sb.Append (generic_params [i].Name);
-                               }
-                               sb.Append (">");
-
-                               tname = String.Concat (tname, sb.ToString ());
-                               fullname = GetFullName ();
-                       }
                        if (methods != null) {
                                foreach (MethodBuilder method in methods) {
                                        method.fixup ();