[interp] Remove unreachable code (#12411)
[mono-project.git] / mono / tests / generic-typedef.2.cs
blob3aafd0c2cd6b639dff4d376992b15ea6da1e3ca1
1 using System;
3 public class Gen<T> {}
5 static class Stuff
7 public static Type GetOpenType <T> ()
9 return typeof (Gen<>);
12 public static Type GetClosedType <T> ()
14 return typeof (Gen<T>);
17 static int Main (string[] args)
19 if (GetOpenType<string> () != typeof (Gen<>))
20 return 1;
21 if (GetClosedType<string> () != typeof (Gen<string>))
22 return 1;
23 return 0;