summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0572-2.cs
blob: cf09dfcaa37403a037c597d1a88b89b2b18b1b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0572: `meth': cannot reference a type through an expression. Consider using `test.meth' instead
// Line: 8

class test2 : test {
	int meth( bool b )
	{
		return 1;
		base.meth (true);
	}
}

abstract class test {
	public delegate void meth( bool b ) ;
}