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>2006-04-29 00:49:17 +0400
committerMarek Safar <marek.safar@gmail.com>2006-04-29 00:49:17 +0400
commitcafb63ae22a218cda3fa7b48ac4d22b5519e2747 (patch)
tree12dcc27b63a750671a931092652923d6d531d9f1 /mcs/tests/test-502.cs
parent1b815f1fda16352c9b0be0db5b9b524f877a62ff (diff)
parentb5cb62e09c93295088d815e39a745e0f6493e09a (diff)
2006-04-28 Marek Safar <marek.safar@seznam.cz>
A fix for #78049 *class.cs (Method.FindOutBaseMethod): Base method cannot be property method. svn path=/trunk/mcs/; revision=60058
Diffstat (limited to 'mcs/tests/test-502.cs')
-rw-r--r--mcs/tests/test-502.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/test-502.cs b/mcs/tests/test-502.cs
new file mode 100644
index 00000000000..d188b2f788c
--- /dev/null
+++ b/mcs/tests/test-502.cs
@@ -0,0 +1,10 @@
+class Base
+{
+ public int Property { get { return 42; } }
+ static void Main () {}
+}
+
+class Derived : Base
+{
+ public int get_Property() { return 42; }
+} \ No newline at end of file