From bd0689ed6edc99e30fb19931d85e7d7366d81e5b Mon Sep 17 00:00:00 2001 From: Oluwatoni Solarin-Sodara Date: Sat, 1 Sep 2018 17:56:42 +0100 Subject: [PATCH] remove explicit check for tracker namespace --- src/coverlet.core/Instrumentation/Instrumenter.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/coverlet.core/Instrumentation/Instrumenter.cs b/src/coverlet.core/Instrumentation/Instrumenter.cs index 7b0744e96..5290167b3 100644 --- a/src/coverlet.core/Instrumentation/Instrumenter.cs +++ b/src/coverlet.core/Instrumentation/Instrumenter.cs @@ -76,7 +76,6 @@ private void InstrumentModule() { var actualType = type.DeclaringType ?? type; if (!actualType.CustomAttributes.Any(IsExcludeAttribute) - && actualType.Namespace != "Coverlet.Core.Instrumentation.Tracker" && !InstrumentationHelper.IsTypeExcluded(_module, actualType.FullName, _excludeFilters) && InstrumentationHelper.IsTypeIncluded(_module, actualType.FullName, _includeFilters)) InstrumentType(type);