Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0315.cs
blob4ced5e3a0d574fd9d646fd33fd1f1a41c2095aaf
1 // 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'
2 // Line: 8
4 class X
6 delegate void D<TEventArgs> () where TEventArgs : System.EventArgs;
8 D<int> x;