for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0131-3.cs
blob23dbfe1146e1aa84d2be2b68aa791539e6e04414
1 // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2 // Line: 12
4 using System;
5 using System.Collections;
7 class Test {
8 public static void Main(string[] args) {
9 ArrayList al = new ArrayList();
10 al[0] = 0;
12 Console.WriteLine(((int)al[0])++);