Skip to content

feat: Add ExcludeFromCodeCoverage attribute to embedded resources#63

Merged
Sergio0694 merged 3 commits into
Sergio0694:mainfrom
wforney:main
May 15, 2023
Merged

feat: Add ExcludeFromCodeCoverage attribute to embedded resources#63
Sergio0694 merged 3 commits into
Sergio0694:mainfrom
wforney:main

Conversation

@wforney

@wforney wforney commented Mar 17, 2023

Copy link
Copy Markdown

Closes #62

@Sergio0694 Sergio0694 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you! 😄

@Sergio0694 Sergio0694 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmh actually I'm not entirely sure this should be merged. The [ExcludeFromCodeCoverage] attribute is only available since .NET Framework 4.0, whereas PolySharp currently supports down to .NET Framework 3.5. I'll need to think about this and see if there's a workaround 🤔

@Sergio0694

Copy link
Copy Markdown
Owner

This should do the trick, need to validate this first before merging this 🙂

@Sergio0694 Sergio0694 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed another small fix and validated on .NET Framework 3.5, all good!
Thank you! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generated code should be excluded from code coverage

2 participants