a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
384 B
C#
29 lines
384 B
C#
using System;
|
|
|
|
namespace test
|
|
{
|
|
|
|
public class App
|
|
{
|
|
public static void Main() {
|
|
|
|
}
|
|
}
|
|
|
|
public class ThisClass<T, O>
|
|
where T: ThisClass<T, O>
|
|
where O: OtherClass<O, T>
|
|
{
|
|
internal int dummy;
|
|
}
|
|
|
|
public class OtherClass<O, T>
|
|
where O: OtherClass<O, T>
|
|
where T: ThisClass<T, O>
|
|
{
|
|
public void Test(T tc) {
|
|
tc.dummy = 0;
|
|
}
|
|
}
|
|
}
|