summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-25.cs
blob: 33a06bef28a7885aa8260abdf8846d8268f76ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0019: Operator `==' cannot be applied to operands of type `Foo' and `null'
// Line: 14

struct Foo
{
}

public class Test
{
	static Foo ctx;

	public static void Main ()
	{
		if (ctx == null)
			return;
	}
}