Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DelegateRequiredAnalyzer #359

Merged
merged 2 commits into from
Feb 17, 2021
Merged

Add DelegateRequiredAnalyzer #359

merged 2 commits into from
Feb 17, 2021

Conversation

manfred-brands
Copy link
Member

@manfred-brands manfred-brands commented Feb 13, 2021

Fixes #357
Fixes #149

There is no need to check classic method Assert.Throw etc as the argument definition already specifies a delegate.

@manfred-brands
Copy link
Member Author

Now also addresses case 1 of #149

@manfred-brands manfred-brands changed the title Add ThrowsWithNonDelegateAnalyzer Add DelegateRequiredAnalyzer Feb 14, 2021
Copy link
Member

@mikkelbu mikkelbu left a comment

Choose a reason for hiding this comment

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

Looks great @manfred-brands. I some typos, but that is all. I'm happy to merge this when you are 👍.

Apply suggestions from code review

Thanks @mikkelbu. I thought I had renamed everything when I changed scope, but forgot the test namespace
@manfred-brands
Copy link
Member Author

Thanks @mikkelbu, I thought I had renamed everything when I extended the scope of the ticket, but forgot the test namespaces.
All done now.

@mikkelbu
Copy link
Member

@manfred-brands Thanks for the contribution, I'll merge it now 👍

@mikkelbu mikkelbu merged commit 1e0017d into nunit:master Feb 17, 2021
@mikkelbu mikkelbu added this to the Release 3.1 / 2.1 milestone Feb 17, 2021
@manfred-brands manfred-brands deleted the throws branch February 20, 2021 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants