use a 2.0 network stack for MONOTOUCH
[mcs.git] / errors / gcs1922.cs
blob2beed78115e8140fb1aa1fb5c14b3bd4eba0c815
1 // CS1922: A field or property `Data.Value' cannot be initialized with a collection object initializer because type `int' does not implement `System.Collections.IEnumerable' interface
2 // Line: 16
5 using System;
7 class Data
9 public int Value;
12 public class Test
14 static void Main ()
16 var c = new Data { Value = { 0, 1, 2 } };