summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0108-16.cs
blob: c5415412b6b10c35987601e7385fabbf3150b82e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0108: `BaseConcrete.InnerDerived<T>()' hides inherited member `BaseGeneric<string>.InnerDerived'. Use the new keyword if hiding was intended
// Line: 14
// Compiler options: -warn:2 -warnaserror

class BaseGeneric<T>
{
	public class InnerDerived
	{
	}
}

class BaseConcrete : BaseGeneric<string>
{
	public void InnerDerived<T> ()
	{
	}
}