2 using System.Runtime.InteropServices;
3 using System.Runtime.CompilerServices;
8 public void GenericMethod<T> () {
13 public void SimpleMethod () { //thin EH table
18 } catch (Exception e) {}
22 public interface IFace
28 public abstract class TypeTwo
30 public TypeTwo () { //2 simple EH entries
33 } catch (Exception) {}
40 [DllImport ("bla.dll")]
41 public static extern void PInvoke ();
44 public abstract class AbsClass
46 public AbsClass () { //fat EH table
51 //make this bigger than 256 bytes, each entry is 25 bytes
52 z = typeof(int).GetHashCode ();
53 z = typeof(int).GetHashCode ();
54 z = typeof(int).GetHashCode ();
55 z = typeof(int).GetHashCode ();
56 z = typeof(int).GetHashCode ();
57 z = typeof(int).GetHashCode ();
58 z = typeof(int).GetHashCode ();
59 z = typeof(int).GetHashCode ();
60 z = typeof(int).GetHashCode ();
61 z = typeof(int).GetHashCode ();
62 z = typeof(int).GetHashCode ();
63 z = typeof(int).GetHashCode ();
66 public abstract void AbsBla ();
69 public static class InternalCall
71 [MethodImplAttribute(MethodImplOptions.InternalCall)]
72 public static extern int ICall (object o);
76 public class ClassWithCCtor
78 static ClassWithCCtor () {
83 public class MethodWithLostsOfParams
85 static void Foo(int a, int b, int c) {}
86 static void Foo2(int a, int b, int c) {}
87 static void Foo3(int a, int b, int c) {}
90 public class LastClass
92 public static void Main ()