Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
371 B
C#

namespace SD {
public class Sd {
static public void F (bool b) { }
}
}
namespace Foo {
using SD;
partial class Bar {
delegate void f_t (bool b);
f_t f = new f_t (Sd.F);
}
}
namespace Foo {
partial class Bar
{
public Bar () {}
public static void Main ()
{
if (new Bar ().f == null)
throw new System.Exception ("Didn't resolve Sd.F?");
}
}
}