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:
authorMarek Safar <marek.safar@gmail.com>2004-05-10 17:49:22 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-10 17:49:22 +0400
commitce8edc448dea9793a8c8adf44db37b0090329f14 (patch)
tree936608aa9ecbab0113ab09879532c04ff36c264c /mcs/errors/cs0577-3.cs
parent167ec58d39397ad7485995b95d3b54c2fb701863 (diff)
2004-05-10 Marek Safar <marek.safar@seznam.cz>
* cs0577-2, cs0577-3, * cs1618.cs: 3 new error tests. svn path=/trunk/mcs/; revision=27027
Diffstat (limited to 'mcs/errors/cs0577-3.cs')
-rw-r--r--mcs/errors/cs0577-3.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0577-3.cs b/mcs/errors/cs0577-3.cs
new file mode 100644
index 00000000000..dd7f247d609
--- /dev/null
+++ b/mcs/errors/cs0577-3.cs
@@ -0,0 +1,13 @@
+// cs0577.cs: Conditional not valid on 'MainClass.implicit operator MainClass (C)' because it is a destructor, operator, or explicit interface implementation
+// Line: 8
+
+class C {}
+
+class MainClass {
+ [System.Diagnostics.Conditional("DEBUG")]
+ public static implicit operator MainClass (C m)
+ {
+ return null;
+ }
+}
+