Skip to content

Support ExcludeFromCodeCoverageAttribute in local functions#41129

Merged
RikkiGibson merged 4 commits intodotnet:features/local-function-attributesfrom
RikkiGibson:lfa-excludefromcodecoverage
Jan 23, 2020
Merged

Support ExcludeFromCodeCoverageAttribute in local functions#41129
RikkiGibson merged 4 commits intodotnet:features/local-function-attributesfrom
RikkiGibson:lfa-excludefromcodecoverage

Conversation

@RikkiGibson
Copy link
Member

@RikkiGibson RikkiGibson commented Jan 21, 2020

Related to #38801

@RikkiGibson RikkiGibson marked this pull request as ready for review January 22, 2020 00:56
@RikkiGibson RikkiGibson requested a review from a team as a code owner January 22, 2020 00:56
@RikkiGibson RikkiGibson requested a review from AlekseyTs January 22, 2020 19:56
@AlekseyTs
Copy link
Contributor

AlekseyTs commented Jan 22, 2020

Done with review pass (iteration 2) #Resolved

@AlekseyTs
Copy link
Contributor

Done with review pass (iteration 3)

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM(iteration 4)

@RikkiGibson RikkiGibson merged commit cce0891 into dotnet:features/local-function-attributes Jan 23, 2020
@RikkiGibson RikkiGibson deleted the lfa-excludefromcodecoverage branch January 23, 2020 02:07
return RemoveDynamicAnalysisInjectors(previous);
case DebugInfoInjector { Previous: var previous } injector:
var newPrevious = RemoveDynamicAnalysisInjectors(previous);
return (object)newPrevious != previous ? new DebugInfoInjector(newPrevious) : injector;
Copy link
Member Author

Choose a reason for hiding this comment

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

We missed that the DebugInfoInjector singleton could be used in the case where newPrevious is the NoOp instrumenter. Will correct in a future PR.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants