summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-46.cs
blob: 3924c532ea65e6136fce7e418be7c19917ae4d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0019: Operator `==' cannot be applied to operands of type `method group' and `method group'
// Line: 8

public class C
{
	public static void Main ()
	{
		bool a = DelegateMethod == DelegateMethod;
	}

	static int DelegateMethod(bool b)
	{
		return 3;
	}	
}