Merge remote branch 'upstream/master'
[mono.git] / mcs / errors / cs0266-20.cs
1 // CS0266: Cannot implicitly convert type `bool?' to `bool'. An explicit conversion exists (are you missing a cast?)
2 // Line: 9
3
4 class X
5 {
6         static void Main ()
7         {
8                 bool? a = true;
9                 int? b = a ? 3 : 4;
10         }
11 }