avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / gcs1922-2.cs
blob6bb662b2e6da1ddb59a486a276d5a79001330b60
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) });