Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-exmethod-47.cs
1 delegate void D ();
2
3 public class C
4 {
5         static void Main ()
6         {
7                 S s = new S ();
8                 D d = s.Foo;
9         }
10 }
11
12 public class S
13 {
14         public void Foo (int i)
15         {
16         }
17 }
18
19 public static class Extension
20 {
21         public static void Foo (this S s) { }
22 }