Merge remote branch 'upstream/master'
[mono.git] / mcs / errors / cs0201-6.cs
1 // CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
2 // Line: 13
3
4 class C<T>
5 {
6         static T Test ()
7         {
8                 return default (T);
9         }
10         
11         public static void Main ()
12         {
13                 Test ().Foo;
14         }
15 }