2007-10-18 Jb Evain <jbevain@novell.com>
[mono.git] / mcs / errors / gcs0029-5.cs
1 // CS0029: Cannot implicitly convert type `anonymous type' to `bool'
2 // Line: 10
3 // Compiler options: -langversion:linq
4
5 public class Test
6 {
7         static void Main ()
8         {
9                 var o = new { Value = 1 };
10                 bool b = o;
11         }
12 }