summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0173-2.cs
blob: 5e407978a7b2f4c9c9a8154bfab389a1cd5c21ef (plain)
1
2
3
4
5
6
7
8
9
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `int' and `null'
// Line: 29

public class MainClass {
        public static void Main() {
                bool result = false;
                System.Console.WriteLine (result ? 1 : null);
	}
}