Sergio0694 / PolySharp

PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
MIT License
1.83k stars 49 forks source link

Exclude RequiresAssemblyFilesAttribute from code coverage #83

Closed sliekens closed 1 year ago

sliekens commented 1 year ago

Closes #62

Description (optional)

Most types were already annotated with ExcludeFromCodeCoverage but one type was forgotten.

Additional context (optional)

ReportGenerator complains about missing source code when generating code coverage reports.

2023-09-29T18:28:00: File '/project/PolySharp.SourceGenerators/PolySharp.SourceGenerators.PolyfillsGenerator/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.g.cs' does not exist (any more).