summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1061-3.cs
blob: 9c2f1285a243578c7c9be69993f2772b586a714b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS1061: Type `object' does not contain a definition for `Test' and no extension method `Test' of type `object' could be found. Are you missing an assembly reference?
// Line: 17

public class S
{
	public static void Test()
	{
	}
}

public class M
{
	public object S { get; set; }

	public void Main ()
	{
		S.Test ();
	}
}