blob: 4ced5e3a0d574fd9d646fd33fd1f1a41c2095aaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// CS0315: The type `int' cannot be used as type parameter `TEventArgs' in the generic type or method `X.D<TEventArgs>'. There is no boxing conversion from `int' to `System.EventArgs'
// Line: 8
class X
{
delegate void D<TEventArgs> () where TEventArgs : System.EventArgs;
D<int> x;
}
|