2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1922-2.cs
blob27fa38721fd67578a7f2fc9f7baab58e1a878534
1 // CS1922: A field or property `System.Type' cannot be initialized with a collection object initializer because type `System.Type' does not implement `System.Collections.IEnumerable' interface
2 // Line: 13
4 using System;
5 using System.Xml.Serialization;
7 namespace test
9 public class Test
11 static void Main ()
13 XmlSerializer xs = new XmlSerializer (typeof (string), new Type () { typeof (bool) });