summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0253-3.cs
blob: 0cf7968f7cbbde506e72d761cd94e90ab865f149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `System.Action' to get value comparison
// Line: 13
// Compiler options: -warnaserror

using System;

class MainClass
{
	public static void Main ()
	{
		Action a = null;
		object b = null;
		var x = a == b;
	}
}