summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-45.cs
blob: be9152304f639860e528d157cd2abe4d05350bd2 (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 `null'
// Line: 8

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

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