* FieldInfoTest.cs: Enabled test for bug #82465.
authorGert Driesen <drieseng@users.sourceforge.net>
Fri, 17 Aug 2007 19:50:52 +0000 (19:50 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Fri, 17 Aug 2007 19:50:52 +0000 (19:50 -0000)
svn path=/trunk/mcs/; revision=84325

mcs/class/corlib/Test/System.Reflection/ChangeLog
mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs

index 37cf847fedd71a56ac5caac5a15ac3d571beb489..ec79bce7ef865c1e8836e548adc6b2ca17119ba6 100644 (file)
@@ -1,3 +1,7 @@
+2007-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FieldInfoTest.cs: Enabled test for bug #82465.
+
 2007-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * ModuleTest.cs: Enabled tests on 2.0 profile since bug #82459 is
index 2559b5f0033042e18e34c5fb77cd2c92ed7a5f4e..85bc10641968d3dcbe7426e7dd800c6d2e9a8dfc 100644 (file)
@@ -62,11 +62,8 @@ namespace MonoTests.System.Reflection
                [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof (Marshal1), MarshalCookie="5")]
                public int f3;
 
-               // bug #82465
-               /*
                [MarshalAs (UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof (Marshal1), MarshalCookie = "5")]
                public object f4;
-               */
 
                [Obsolete]
                public int f5;
@@ -231,18 +228,16 @@ namespace MonoTests.System.Reflection
 #endif
 
                        // bug #82465
-                       /*
                        attrs = typeof (Class2).GetField ("f3").GetCustomAttributes (true);
 #if NET_2_0
                        Assert.AreEqual (1, attrs.Length, "#I1");
-                       MarshalAsAttribute attr = (MarshalAsAttribute) attrs [0];
+                       attr = (MarshalAsAttribute) attrs [0];
                        Assert.AreEqual (UnmanagedType.CustomMarshaler, attr.Value, "#I2");
                        Assert.AreEqual ("5", attr.MarshalCookie, "#I3");
                        Assert.AreEqual (typeof (Marshal1), Type.GetType (attr.MarshalType), "#I4");
 #else
                        Assert.AreEqual (0, attrs.Length, "#I1");
 #endif
-                       */
                }
 
 #if NET_2_0