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:
authorMartin Baulig <martin@novell.com>2004-05-24 20:17:38 +0400
committerMartin Baulig <martin@novell.com>2004-05-24 20:17:38 +0400
commit8b049ae6041f36849e0f89fecde8eb6f8cd5541d (patch)
tree40c6d3b6a510a0c3d897d1d11ccc11424fab4dea /mcs/tests/test-258.cs
parent4494459053a8f63a1cf31bc3413ebbec9af58fa3 (diff)
2004-05-24 Martin Baulig <martin@ximian.com>
* test-258.cs: New test for #58584. svn path=/trunk/mcs/; revision=27978
Diffstat (limited to 'mcs/tests/test-258.cs')
-rw-r--r--mcs/tests/test-258.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/mcs/tests/test-258.cs b/mcs/tests/test-258.cs
new file mode 100644
index 00000000000..5685b07acfe
--- /dev/null
+++ b/mcs/tests/test-258.cs
@@ -0,0 +1,24 @@
+using System;
+
+// Without namespace, this error does not happen.
+namespace MyTest
+{
+ public class Test
+ {
+ public interface Inner
+ {
+ void Foo ();
+ }
+ }
+
+ public class Test2 : MarshalByRefObject, Test.Inner
+ {
+ // This is OK: public void Foo ()
+ void Test.Inner.Foo ()
+ {
+ }
+
+ static void Main ()
+ { }
+ }
+}