* AssemblyBuilder.cs (AddTypeForwarder): throw if the
type is a nested type.
svn path=/trunk/mcs/; revision=153501
internal void AddTypeForwarder (Type t) {
if (t == null)
throw new ArgumentNullException ("t");
+ if (t.IsNested)
+ throw new ArgumentException ();
if (type_forwarders == null) {
type_forwarders = new Type [1] { t };
+2010-03-12 Jb Evain <jbevain@novell.com>
+
+ * AssemblyBuilder.cs (AddTypeForwarder): throw if the
+ type is a nested type.
+
2010-03-11 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetMethod): Allow type to be the typebuilder itself.