summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0114.cs
blob: 73d45ff8e268f599214277490c721eebdd6ab6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0114: `Y.XX()' hides inherited member `X.XX()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
// Line: 10
// Compiler options: -warnaserror -warn:2

public abstract class X {
	public abstract void XX ();
}

class Y : X {
	void XX () {}
}