Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0131-3.cs
1 // CS0131: The left-hand side of an assignment must be a variable, a property or an 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 }