a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
191 B
C#
14 lines
191 B
C#
// CS0703: Inconsistent accessibility: constraint type `C.I' is less accessible than `C.Foo<T>()'
|
|
// Line: 10
|
|
|
|
public class C
|
|
{
|
|
interface I
|
|
{
|
|
}
|
|
|
|
public void Foo<T>() where T : I
|
|
{
|
|
}
|
|
}
|