a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
319 B
C#
14 lines
319 B
C#
// CS0109: The member `Derived.Action<T,U>' does not hide an inherited member. The new keyword is not required
|
|
// Line: 12
|
|
// Compiler options: -warnaserror -warn:4
|
|
|
|
public abstract class Base
|
|
{
|
|
public delegate void Action<U> (U val);
|
|
}
|
|
|
|
public class Derived : Base
|
|
{
|
|
public new delegate void Action<T, U> (U val);
|
|
}
|