a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
183 B
C#
25 lines
183 B
C#
using System;
|
|
|
|
interface I<T> : IA<T>
|
|
{
|
|
}
|
|
|
|
interface IA<T>
|
|
{
|
|
T this [int i] { set; }
|
|
}
|
|
|
|
class B
|
|
{
|
|
I<int> i;
|
|
|
|
void Foo ()
|
|
{
|
|
i [10] = 1;
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|