* TypeBuilderTest.cs: Fix the 1.0 build.
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 29 Sep 2008 14:37:27 +0000 (14:37 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 29 Sep 2008 14:37:27 +0000 (14:37 -0000)
2008-09-29 Rodrigo Kumpera  <rkumpera@novell.com>

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

mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
mcs/class/corlib/Test/System.Reflection.Emit/TypeBuilderTest.cs

index ea15720e850ef84750d3c1128fe6ddf17b0ac0ff..61befc92646f33b2b8a00ee2a19e74cb29acef56 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * TypeBuilderTest.cs: Fix the 1.0 build.
+
 2008-09-29 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * TypeBuilderTest.cs: Add a test for MakeGenericType with EnumBuilder.
index 8e52831b9cb24355174518f0d10ead5bec4eb31c..abe1245c963574c87351004f87c852d5a9b68876 100644 (file)
@@ -89,11 +89,13 @@ namespace MonoTests.System.Reflection.Emit
                public interface IDestroyable
                {
                }
+#if NET_2_0
 
                public class Tuple <A,B> {
                        A a;
                        B b;
                }
+#endif
 
                private AssemblyBuilder assembly;
 
@@ -9982,6 +9984,8 @@ namespace MonoTests.System.Reflection.Emit
                        Assert.IsTrue (typeof (EmptyInterface).IsAssignableFrom (t2));
                }
 
+#if NET_2_0
+
                [Test] //bug #430508
                public void MakeGenericTypeRespectBaseType ()
                {
@@ -10002,7 +10006,6 @@ namespace MonoTests.System.Reflection.Emit
                        Assert.AreEqual (c.GetMethod ("Test").ReturnType.GetGenericArguments ()[1], e, "#1");
                }
 
-#if NET_2_0
                [Test]
                public void GetCustomAttrOnFieldOfInflatedType ()
                {