[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git] / mcs / errors / cs0308-6.cs
1 // CS0308: The non-generic type `BaseGeneric<T>.InnerDerived' cannot be used with the type arguments
2 // Line: 19
3
4 class BaseGeneric<T>
5 {
6         public class InnerDerived
7         {
8         }
9 }
10
11 class BaseConcrete : BaseGeneric<string>
12 {
13 }
14
15 class Program
16 {
17     static void Main ()
18     {
19         new BaseConcrete.InnerDerived<int>();
20     }
21 }