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>2010-08-19 22:31:11 +0400
committerMarek Safar <marek.safar@gmail.com>2010-08-20 11:26:01 +0400
commitde7b2843eb70d20ad7e9f585282519c8470fca7e (patch)
tree68aee2121f6bf87c402d445f2ae061fec0057426 /mcs/tests/dtest-014.cs
parentd03f1e2e50f2a7d44dcc6e422828881d54c8e359 (diff)
More dynamic conversion fixes
Diffstat (limited to 'mcs/tests/dtest-014.cs')
-rw-r--r--mcs/tests/dtest-014.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/tests/dtest-014.cs b/mcs/tests/dtest-014.cs
index aa19202b00b..f9a5cf867ab 100644
--- a/mcs/tests/dtest-014.cs
+++ b/mcs/tests/dtest-014.cs
@@ -1,3 +1,16 @@
+class A
+{
+ public static int operator != (A a, dynamic b)
+ {
+ return -1;
+ }
+
+ public static int operator == (A a, dynamic b)
+ {
+ return +1;
+ }
+}
+
public class C
{
public static bool operator == (C a, object b)