a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
210 B
C#
13 lines
210 B
C#
// CS0123: A method or delegate `A<T,U>.M(T)' parameters do not match delegate `A<T,U>.D(U)' parameters
|
|
// Line: 10
|
|
|
|
class A<T, U> where T : U
|
|
{
|
|
delegate void D (U u);
|
|
|
|
static void M (T t)
|
|
{
|
|
D d = M;
|
|
}
|
|
}
|