a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
204 B
C#
18 lines
204 B
C#
// CS0455: Type parameter `T3' inherits conflicting constraints `X' and `Y'
|
|
// Line: 15
|
|
|
|
class X
|
|
{
|
|
}
|
|
|
|
class Y
|
|
{
|
|
}
|
|
|
|
class C<T1, T2, T3, T4>
|
|
where T1 : X
|
|
where T2 : T1
|
|
where T3 : Y, T4
|
|
where T4 : T2
|
|
{
|
|
} |