From 96953b48ff7d9d0f38c77bfa620d6b5a37ca5e4f Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 29 Sep 2023 20:52:07 +0200 Subject: [PATCH] Exclude RequiresAssemblyFilesAttribute from code coverage --- ...em.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs b/src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs index 4d31074..a8af0dc 100644 --- a/src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs +++ b/src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs @@ -16,6 +16,7 @@ namespace System.Diagnostics.CodeAnalysis global::System.AttributeTargets.Method | global::System.AttributeTargets.Property, Inherited = false, AllowMultiple = false)] + [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")] internal sealed class RequiresAssemblyFilesAttribute : global::System.Attribute {