diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-09-18 03:17:12 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-09-18 03:17:12 +0400 |
commit | 531b9d6b4ef9eb50249fb5a58c92322b2ee43539 (patch) | |
tree | f06962de961b76aa5b01565854854e3300af3d9a /mcs/errors/cs0173-2.cs | |
parent | 7597c3550cf88a81dc548b9ea2cd1e9135bd0aca (diff) |
Up
svn path=/trunk/mcs/; revision=34035
Diffstat (limited to 'mcs/errors/cs0173-2.cs')
-rw-r--r-- | mcs/errors/cs0173-2.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mcs/errors/cs0173-2.cs b/mcs/errors/cs0173-2.cs index 22b9faf1cc1..325330e2c3b 100644 --- a/mcs/errors/cs0173-2.cs +++ b/mcs/errors/cs0173-2.cs @@ -1,2 +1,8 @@ -// cs0173.cs: Type of conditional expression can't 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);
}
}
+// cs0173.cs: Type of conditional expression can't 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); + } +} |