a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
371 B
C#
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?");
|
|
}
|
|
}
|
|
}
|