Author: marek
Date: 2007-02-24 10:45:04 -0500 (Sat, 24 Feb 2007)
New Revision: 73392
Added:
trunk/mcs/tests/test-566.cs
Log:
New test based on bug #80407
Added: trunk/mcs/tests/test-566.cs
===================================================================
--- trunk/mcs/tests/test-566.cs 2007-02-24 15:44:21 UTC (rev 73391)
+++ trunk/mcs/tests/test-566.cs 2007-02-24 15:45:04 UTC (rev 73392)
@@ -0,0 +1,65 @@
+public class Test
+{
+ private C _vssItem;
+
+ public string Spec
+ {
+ get { return _vssItem.Spec; }
+ }
+
+ void Foo (C c)
+ {
+ c.Checkout ();
+ }
+
+ void Foo2 (CC cc)
+ {
+ cc.Spec = "aa";
+ }
+
+ public static void Main ()
+ {
+ }
+}
+
+interface A
+{
+ void Checkout ();
+ string Spec
+ {
+ get;
+ }
+}
+
+interface B : A
+{
+ new void Checkout ();
+ new string Spec
+ {
+ get;
+ }
+}
+
+interface C : B
+{
+}
+
+class CA
+{
+ public string Spec
+ {
+ set {}
+ }
+}
+
+class CB : CA
+{
+ new public string Spec
+ {
+ set {}
+ }
+}
+
+class CC : CB
+{
+}
\ No newline at end of file
Property changes on: trunk/mcs/tests/test-566.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches