You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-7
Original file line number
Diff line number
Diff line change
@@ -85,14 +85,8 @@ You can specify multiple values for `ThresholdType` by separating them with comm
85
85
### Excluding From Coverage
86
86
87
87
#### Attributes
88
-
You can ignore a method or an entire class from code coverage by creating and applying any of the following attributes:
89
88
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.
96
90
97
91
#### Source Files
98
92
You can also ignore specific source files from code coverage using the `ExcludeByFile` property
0 commit comments