1 public partial class Test
3 public readonly Foo TheFoo;
7 this.TheFoo = new Foo ();
10 public partial interface IFoo
17 return TheFoo.Hello (this);
21 public partial class Test
23 public partial class Foo : IFoo
25 int IFoo.Hello (Test test)
30 public int Hello (Test test)
36 public int TestIFoo (IFoo foo)
38 return foo.Hello (this);
46 Test test = new Test ();
47 if (test.TestFoo () != 1)
49 if (test.TestIFoo (test.TheFoo) != 2)