Bläddra i källkod

New test.

svn path=/trunk/mcs/; revision=113503
Marek Safar 17 år sedan
förälder
incheckning
9ecde5a356
2 ändrade filer med 47 tillägg och 0 borttagningar
  1. 23 0
      mcs/tests/gtest-anon-44.cs
  2. 24 0
      mcs/tests/ver-il-gmcs.xml

+ 23 - 0
mcs/tests/gtest-anon-44.cs

@@ -0,0 +1,23 @@
+using System;
+
+namespace UiaAtkBridgeTest
+{
+	class Test
+	{
+		public static void Invoke (EventHandler d)
+		{
+		}
+	}
+
+	public class GailTester
+	{
+		public void ThisCausesACrash<I> ()
+		{
+			Test.Invoke (delegate { });
+		}
+		
+		public static void Main ()
+		{
+		}
+	}
+}

+ 24 - 0
mcs/tests/ver-il-gmcs.xml

@@ -12367,6 +12367,30 @@
       </method>
     </type>
   </test>
+  <test name="gtest-anon-44.cs">
+    <type name="UiaAtkBridgeTest.Test">
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+      <method name="Void Invoke(System.EventHandler)">
+        <size>1</size>
+      </method>
+    </type>
+    <type name="UiaAtkBridgeTest.GailTester">
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+      <method name="Void ThisCausesACrash[I]()">
+        <size>18</size>
+      </method>
+      <method name="Void Main()">
+        <size>1</size>
+      </method>
+      <method name="Void &lt;ThisCausesACrash&gt;m__0[I](System.Object, System.EventArgs)">
+        <size>1</size>
+      </method>
+    </type>
+  </test>
   <test name="gtest-anon-5.cs">
     <type name="X">
       <method name="Void .ctor()">