Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

65 lines
505 B
C#

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