Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-357.cs
1 namespace SD {
2         public class Sd {
3                 static public void F (bool b) { }
4         }
5 }
6
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);
12         }
13 }
14
15 namespace Foo {
16         partial class Bar
17         {
18                 public Bar () {}
19                 public static void Main ()
20                 {
21                         if (new Bar ().f == null)
22                                 throw new System.Exception ("Didn't resolve Sd.F?");
23                 }
24         }
25 }