15 lines
174 B
C#
15 lines
174 B
C#
|
// CS0454: Circular constraint dependency involving `T' and `U'
|
||
|
// Line: 7
|
||
|
using System;
|
||
|
|
||
|
class Foo<T,U>
|
||
|
where T : U
|
||
|
where U : T
|
||
|
{ }
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
static void Main ()
|
||
|
{ }
|
||
|
}
|