[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / gtest-427.cs
blobe3830d79c47df745ae7bf2a507c6047976a0e043
2 delegate void EventHandler (object sender);
3 delegate void EventHandler<T> (T sender);
5 class T
7 void Test ()
9 Attach (OnClick);
12 void Attach (EventHandler handler)
14 throw null;
17 void Attach (EventHandler<string> handler)
21 void OnClick (string sender)
25 public static void Main ()
27 new T ().Test ();