From 7c44cea15e93b71e52d2e549bb23191c36baef19 Mon Sep 17 00:00:00 2001 From: Oluwatoni Solarin-Sodara Date: Sat, 1 Sep 2018 18:18:10 +0100 Subject: [PATCH] use attribute to exclude ModuleTrackerTemplate class --- src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs b/src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs index 381119f33..86f99da05 100644 --- a/src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs +++ b/src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.IO; using System.Threading; @@ -13,6 +14,7 @@ namespace Coverlet.Core.Instrumentation /// As this type is going to be customized for each instrumeted module it doesn't follow typical practices /// regarding visibility of members, etc. /// + [ExcludeFromCodeCoverage] public static class ModuleTrackerTemplate { public static string HitsFilePath;