[corlib] Fixes mobile tests
authorMarek Safar <marek.safar@gmail.com>
Fri, 15 May 2015 18:52:21 +0000 (20:52 +0200)
committerMarek Safar <marek.safar@gmail.com>
Fri, 15 May 2015 18:52:47 +0000 (20:52 +0200)
external/referencesource
mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs

index a5478121f0215a9d9068931ac7fd2b6ae459b036..5ba8f8ccf5d991028f17d0bb1bd7dc07cd365a1e 160000 (submodule)
@@ -1 +1 @@
-Subproject commit a5478121f0215a9d9068931ac7fd2b6ae459b036
+Subproject commit 5ba8f8ccf5d991028f17d0bb1bd7dc07cd365a1e
index 62747be0c02eb4392ed5072722e2ccb8f258d901..0f2bc3eeaf481f0cc364e0d066c5a965e36f37b3 100644 (file)
@@ -64,6 +64,11 @@ namespace MonoTests.System.Reflection
                {
                }
 
+               public interface InterfaceTest
+               {
+                       void Clone ();
+               }
+
                [Test]
                public void IsDefined_AttributeType_Null ()
                {
@@ -304,7 +309,7 @@ namespace MonoTests.System.Reflection
                [Test]
                public void GetMethodBody_Abstract ()
                {
-                       MethodBody mb = typeof (ICloneable).GetMethod ("Clone").GetMethodBody ();
+                       MethodBody mb = typeof (InterfaceTest).GetMethod ("Clone").GetMethodBody ();
                        Assert.IsNull (mb);
                }