* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0131-3.cs
1 // cs0131-3.cs: The left-hand side of an assignment or mutating operation must be a variable, property or indexer
2 // Line: 12
3
4 using System;
5 using System.Collections;
6
7 class Test {
8         public static void Main(string[] args) {
9                 ArrayList al = new ArrayList();
10                 al[0] = 0;
11                 
12                 Console.WriteLine(((int)al[0])++);
13         }
14 }