3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
15 lines
256 B
C#
15 lines
256 B
C#
// CS0108: `B.Adapter' hides inherited member `A.Adapter'. Use the new keyword if hiding was intended
|
|
// Line: 14
|
|
// Compiler options: -warnaserror -warn:2
|
|
|
|
class A
|
|
{
|
|
public abstract class Adapter
|
|
{
|
|
}
|
|
}
|
|
|
|
class B : A
|
|
{
|
|
public int Adapter { get; set; }
|
|
} |