Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0037-2.cs
1 // CS0037: Cannot convert null to `bool' because it is a value type
2 // Line: 19
3
4
5 using System;
6
7 class TestA
8 {
9         public string Select (Func<TestA, bool> f)
10         {
11                 return "";
12         }
13 }
14
15 public class C
16 {
17         static void Main ()
18         {
19                 string foo = from a in new TestA () select null;
20         }
21 }