2009-06-17 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / errors / gcs1922-2.cs
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\r
2 // Line: 13\r
3 \r
4 using System;\r
5 using System.Xml.Serialization;\r
6 \r
7 namespace test\r
8 {\r
9         public class Test\r
10         {\r
11                 static void Main ()\r
12                 {\r
13                         XmlSerializer xs = new XmlSerializer (typeof (string), new Type () { typeof (bool) });\r
14                 }\r
15         }\r
16 }\r
17 \r