0

For example I have a simple POCO like so:

public class Customer
{
   public int Age { get; set; }
}

I want to exclude the properties that follow this pattern. Note that I cannot exclude the whole class because in future I might add a method that needs coverage.

lbrahim
  • 3,710
  • 12
  • 57
  • 95

1 Answers1

1

All the information you need us in the wiki

https://github.com/opencover/opencover/wiki/Usage

In this instance -skipautoprops is the switch you need.

Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56