Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/errors/gcs0019-3.cs')
-rw-r--r--mcs/errors/gcs0019-3.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/gcs0019-3.cs b/mcs/errors/gcs0019-3.cs
new file mode 100644
index 00000000000..ad101cfe669
--- /dev/null
+++ b/mcs/errors/gcs0019-3.cs
@@ -0,0 +1,12 @@
+// CS0019: Operator '&&' cannot be applied to operands of type 'bool?' and 'bool?'
+// Line: 10
+using System;
+
+class X
+{
+ static void Main ()
+ {
+ bool? a = false, b = false;
+ Console.WriteLine (a && b);
+ }
+}