New test.
[mono.git] / mcs / class / corlib / Test / System.Reflection.Emit / ConstructorBuilderTest.cs
index e75dd9557276100d4d0c86778969e06967af7b24..2d380965e0b25ef4aa8c2a354a5470c74d1323af 100644 (file)
@@ -94,11 +94,14 @@ public class ConstructorBuilderTest : Assertion
        }
        
        [Test]
-       public void TestMethodHandle () {
+       [Category ("NotDotNet")]
+       public void TestMethodHandle ()
+       {
                ConstructorBuilder cb = genClass.DefineConstructor (
                         0, 0, new Type [0]);
 
                RuntimeMethodHandle handle = cb.MethodHandle;
+               // the previous line throws a NotSupportedException on MS 1.1 SP1
        }
 
        public void TestName () {