Ignore words

Ignore words

Is there a way for NCover to ignore specific words or lines of code from being checked?

For example,

If I want to ignore all lines that have the following:

"throw new Exception();"


RE: Ignore words

Paul,

there is not a way to tell NCover to ignore specific lines of code or types of code. However, we have had the request to ignore exceptions before, and implementing it is in our feature queue, although I obviously can't say when it will be released.

Why do you want to ignore "throw new Exception()"?