[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-357.cs
blobda12b228be7e15c203ff35aa5225c6c4d660aeaa
1 namespace SD {
2 public class Sd {
3 static public void F (bool b) { }
7 namespace Foo {
8 using SD;
9 partial class Bar {
10 delegate void f_t (bool b);
11 f_t f = new f_t (Sd.F);
15 namespace Foo {
16 partial class Bar
18 public Bar () {}
19 public static void Main ()
21 if (new Bar ().f == null)
22 throw new System.Exception ("Didn't resolve Sd.F?");