summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1059-3.cs
blob: 252a9c128f950b03fda48a824069806848ec0bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1059: The operand of an increment or decrement operator must be a variable, property or indexer
// Line: 11

using System;

class X
{
	static void Main ()
	{
		Decimal v;
		(v = new Decimal ())++;
	}
}