[xbuild] Add support for Before/AfterTargets.
[mono.git] / mcs / errors / cs1061-3.cs
1 // CS1061: Type `object' does not contain a definition for `Test' and no extension method `Test' of type `object' could be found (are you missing a using directive or an assembly reference?)
2 // Line: 17
3
4 public class S
5 {
6         public static void Test()
7         {
8         }
9 }
10
11 public class M
12 {
13         public object S { get; set; }
14
15         public void Main ()
16         {
17                 S.Test ();
18         }
19 }