public class Base
{
public Base() { }
public Base(int a) { }
}
public class Derived : Base
{
public Derived() { }
public Derived(int a) : base(a) { }
}
Base::.ctor() is marked as unused, even though it's required for the implicit base call in the derived ctor.
Description
public class Base
{
public Base() { }
public Base(int a) { }
}
public class Derived : Base
{
public Derived() { }
public Derived(int a) : base(a) { }
}
Base::.ctor() is marked as unused, even though it's required for the implicit base call in the derived ctor.