Properly initialize a rgctx template. Fixes bxc #1147.
[mono-project.git] / mcs / errors / cs0201-6.cs
blob48496892c4b885e9d8bfb21caac618bae95b7534
1 // CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
2 // Line: 13
4 class C<T>
6 static T Test ()
8 return default (T);
11 public static void Main ()
13 Test ().Foo;