3 interface InterfaceContravariat
<in T
>
6 T
this[int arg
] { set; }
9 interface InterfaceCovariant
<out T
>
12 T
this[int arg
] { get; }
15 class A
: InterfaceContravariat
<int>, InterfaceCovariant
<long>
17 public static int Main ()
22 int InterfaceContravariat
<int>.Prop
24 set { throw new NotImplementedException (); }
27 int InterfaceContravariat
<int>.this[int arg
]
29 set { throw new NotImplementedException (); }
32 long InterfaceCovariant
<long>.Prop
34 get { throw new NotImplementedException (); }
37 long InterfaceCovariant
<long>.this[int arg
]
39 get { throw new NotImplementedException (); }