Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

14 lines
314 B
C#

// CS0118: `B.Factory' hides inherited member `A.Factory(object)'. Use the new keyword if hiding was intended
// Line: 12
// Compiler options: -warnaserror -warn:2
public abstract class A
{
public void Factory (object data) { }
}
public class B : A
{
public delegate void Factory (object data, object fail);
}