Flush (work in progress)
[mono.git] / mcs / errors / gcs0108.cs
1 // CS0108: `BaseConcrete.InnerDerived<T>()' hides inherited member `BaseGeneric<string>.InnerDerived'. Use the new keyword if hiding was intended
2 // Line: 14
3 // Compiler options: -warn:2 -warnaserror
4
5 class BaseGeneric<T>
6 {
7         public class InnerDerived
8         {
9         }
10 }
11
12 class BaseConcrete : BaseGeneric<string>
13 {
14         public void InnerDerived<T> ()
15         {
16         }
17 }