From b1edbac46345f3094ff796c621d51a47af316a96 Mon Sep 17 00:00:00 2001 From: Oluwatoni Solarin-Sodara Date: Tue, 12 Jun 2018 08:20:45 +0000 Subject: [PATCH] update README.md --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 0f8a796c6..248dd4fef 100644 --- a/README.md +++ b/README.md @@ -85,14 +85,8 @@ You can specify multiple values for `ThresholdType` by separating them with comm ### Excluding From Coverage #### Attributes -You can ignore a method or an entire class from code coverage by creating and applying any of the following attributes: -* ExcludeFromCoverage -* ExcludeFromCoverageAttribute -* ExcludeFromCodeCoverage -* ExcludeFromCodeCoverageAttribute - -Coverlet just uses the type name, so the attributes can be created under any namespace of your choosing. +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. #### Source Files You can also ignore specific source files from code coverage using the `ExcludeByFile` property