summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0201-6.cs
blob: 57733dad5730f1838e77129ac8b1fa8fda40bb12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 13

class C<T>
{
	static T Test ()
	{
		return default (T);
	}
	
	public static void Main ()
	{
		Test ().Foo;
	}
}