2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / metadata-verifier / assembly-with-methods.cs
1 using System;
2 using System.Runtime.InteropServices;
3 using System.Runtime.CompilerServices;
4
5 public class TypeOne
6 {
7         public void GenericMethod<T> () {
8         }
9
10         public void SimpleMethod () {
11         }
12 }
13
14 public interface IFace
15 {
16         void MyMethod ();
17 }
18
19
20 public abstract class TypeTwo
21 {
22         [DllImport ("bla.dll")]
23         public static extern void PInvoke ();
24 }
25
26 public abstract class AbsClass
27 {
28         public abstract void AbsBla ();
29 }
30
31 public static class InternalCall
32 {
33                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
34                 public static extern int ICall (object o);
35 }
36
37
38 public class ClassWithCCtor
39 {
40         static ClassWithCCtor () {
41         
42         }
43 }
44
45 public class MethodWithLostsOfParams
46 {
47         static void Foo(int a, int b, int c) {}
48         static void Foo2(int a, int b, int c) {}
49         static void Foo3(int a, int b, int c) {}
50 }
51
52 public class LastClass
53 {
54         public static void Main ()
55         {
56         
57         }
58 }