Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1059-3.cs
1 // CS1059: The operand of an increment or decrement operator must be a variable, property or indexer
2 // Line: 11
3
4 using System;
5
6 class X
7 {
8         static void Main ()
9         {
10                 Decimal v;
11                 (v = new Decimal ())++;
12         }
13 }