summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-24.cs
blob: f6497bc9fdb8b9ba82f793b43851c767a761628f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0019: Operator `+=' cannot be applied to operands of type `object' and `object'
// Line: 10

class Program
{
	static int Main ()
	{
		object[] o = null;
		int ii = 2;
		o [ii++] += new object ();
		return 0;
	}
}