From 3941117203ff22e29d3cf4d8a3a4a5526ff59ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Boudereau?= Date: Thu, 28 Aug 2025 17:42:52 +0200 Subject: [PATCH] doc: update exclude from code coverage example (fixes #1764) --- Documentation/MSBuildIntegration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/MSBuildIntegration.md b/Documentation/MSBuildIntegration.md index cddea54d1..2a3f75cca 100644 --- a/Documentation/MSBuildIntegration.md +++ b/Documentation/MSBuildIntegration.md @@ -144,7 +144,7 @@ You can also ignore additional attributes by using the `ExcludeByAttribute` prop * Use attribute name, attribute full name or fully qualified name of the attribute type (`Obsolete`, `ObsoleteAttribute`, `System.ObsoleteAttribute`) ```bash -dotnet test /p:CollectCoverage=true /p:ExcludeByAttribute="Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute" +dotnet test /p:CollectCoverage=true /p:ExcludeByAttribute="Obsolete%2cGeneratedCodeAttribute" ``` ### Source Files