a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
177 B
C#
11 lines
177 B
C#
// CS0455: Type parameter `T' inherits conflicting constraints `System.ValueType' and `Test'
|
|
// Line: 8
|
|
|
|
class Test
|
|
{ }
|
|
|
|
class Foo<T,U>
|
|
where T : struct, U
|
|
where U : Test
|
|
{ }
|