a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
314 B
C#
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);
|
|
}
|