Replies: 3 comments
-
One option would be to add an attribute that can be applied to attributes and indicate that specified attribute should be emitted to all members generated for the annotated member. Another option would be to propagate all attributes - but that might not be desirable (e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Currently ExcludeFromCodeCoverage attribute is not preserved when roslyn generates additional methods/classes (async methods, lambda... etc). To fix it code coverage tools needs to add logic which depends on internal roslyn implementation:
[from https://github.com/coverlet-coverage/coverlet/pull/671/files]
Is there any better way of fixing it?
For dynamic code coverage we received also several issues. For example:
dotnet/core#4361
dotnet/core#5664
We are wondering if we should create similar logic as coverlet.
BR,
Jakub
Beta Was this translation helpful? Give feedback.
All reactions