[runtime] Accomplish BITCODE build symbol sharing with only make (#3329)
[mono-project.git] / mono / tests / generic-getgenericarguments.2.cs
blob22fba840132f61efd0ef74fe51af187a99685110
1 using System.Reflection;
2 using System;
4 public delegate void TestDelegate ();
6 public class Bla {
7 public static void test<T> () {}
10 public class main {
11 public static int Main () {
12 TestDelegate del = new TestDelegate (Bla.test<object>);
13 MethodInfo minfo = del.Method;
14 Type[] args = minfo.GetGenericArguments ();
16 if (args.Length == 1)
17 return 0;
18 return 1;