Skip to content

Commit b1edbac

Browse files
committed
update README.md
1 parent 555bf1c commit b1edbac

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,8 @@ You can specify multiple values for `ThresholdType` by separating them with comm
8585
### Excluding From Coverage
8686

8787
#### Attributes
88-
You can ignore a method or an entire class from code coverage by creating and applying any of the following attributes:
8988

90-
* ExcludeFromCoverage
91-
* ExcludeFromCoverageAttribute
92-
* ExcludeFromCodeCoverage
93-
* ExcludeFromCodeCoverageAttribute
94-
95-
Coverlet just uses the type name, so the attributes can be created under any namespace of your choosing.
89+
You can ignore a method or an entire class from code coverage by creating and applying the `ExcludeFromCodeCoverage` attribute present in the `System.Diagnostics.CodeAnalysis` namespace.
9690

9791
#### Source Files
9892
You can also ignore specific source files from code coverage using the `ExcludeByFile` property

0 commit comments

Comments
 (0)