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;