Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage is wrong for chained constructors #95

Closed
torres-roberto opened this issue May 18, 2018 · 1 comment
Closed

Coverage is wrong for chained constructors #95

torres-roberto opened this issue May 18, 2018 · 1 comment

Comments

@torres-roberto
Copy link

I've noticed chained constructors aren't covered. Here's an example of what is showing up as 0 percent covered.

class A
{
     private int _x;

     public A(int x)
     {
          _x = x;
     }

     public A() : this(0)
     {
     }
}

and

class B : A
{
     public B() : base()
     {
     }
}

@lucaslorentz
Copy link
Owner

This is fixed on version 3.0.0.
Please reopen if you still have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants