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

27 lines
330 B
C#

interface IA
{
string val { get; set; }
}
interface IAI : IA
{
new int val { get; set; }
}
interface IAI2 : IAI { }
class AI2 : IAI2
{
public int val { get { return 42; } set { } }
string IA.val { get { return "13"; } set { } }
public void stuff (IAI2 other)
{
val = other.val;
}
public static void Main ()
{
}
}