Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-278-2-lib.cs
1 // Compiler options: -t:library
2
3 // CECIL FIXME: Every method should actually throw new ApplicationException ("Should not be called");
4 // but because mcs dependency on System.Reflection it cannot be done
5
6 using System;
7
8 public class C
9 {
10         public class CC
11         {
12                 public static string Print ()
13                 {
14                         return typeof (CC).FullName;
15                 }
16         }
17
18         public static string Print ()
19         {
20                 return typeof (C).FullName;
21         }
22 }
23
24 public class D
25 {
26         public static string Print ()
27         {
28                 return typeof (D).FullName;
29         }
30 }
31
32 public struct G<T>
33 {
34         public static T Test (T t)
35         {
36                 return t;
37         }
38 }