From faadc8a4936711eba5b90975197624c4a4b5978c Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Mon, 6 Jan 2020 14:22:56 -0800 Subject: [PATCH] !fixup! Don't (uselessly) check for attributes on a namespace --- .../Filters/ExcludeCompilerGeneratedCciFilter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Cci.Extensions/Filters/ExcludeCompilerGeneratedCciFilter.cs b/src/Microsoft.Cci.Extensions/Filters/ExcludeCompilerGeneratedCciFilter.cs index 4f241995dc5..8c92cee687a 100644 --- a/src/Microsoft.Cci.Extensions/Filters/ExcludeCompilerGeneratedCciFilter.cs +++ b/src/Microsoft.Cci.Extensions/Filters/ExcludeCompilerGeneratedCciFilter.cs @@ -29,7 +29,7 @@ public class ExcludeCompilerGeneratedCciFilter : ICciFilter public virtual bool Include(INamespaceDefinition ns) { - return IsNotMarkedWithAttribute(ns) && ns.GetTypes(includeForwards: true).Any(Include); + return ns.GetTypes(includeForwards: true).Any(Include); } public virtual bool Include(ITypeDefinition type)