Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

65
mcs/tests/test-566.cs Normal file
View File

@@ -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
{
}