Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs1922.cs
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
3
4
5 using System;
6
7 class Data
8 {
9         public int Value;
10 }
11
12 public class Test
13 {
14         static void Main ()
15         {
16                 var c = new Data { Value = { 0, 1, 2 } };
17         }
18 }