-
Notifications
You must be signed in to change notification settings - Fork 745
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
Remove unused methods #3305
Remove unused methods #3305
Conversation
@@ -568,7 +568,7 @@ public class AdhocContext : TestExecutionContext | |||
public AdhocContext() | |||
{ | |||
var type = GetType(); | |||
var method = type.GetMethod("AdhocTestMethod", BindingFlags.NonPublic | BindingFlags.Instance); | |||
var method = type.GetMethod(nameof(AdhocTestMethod), BindingFlags.NonPublic | BindingFlags.Instance); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lets ReSharper know that AdhocTestMethod
is not unused.
0f272ce
to
a6cb061
Compare
Note to self: https://github.com/nunit/nunit/compare/master...jnm2:refactor_provider_cache?expand=1 depends on this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 🙂
@ChrisMaddock Do you think we should remove the |
Can do...I was just being lazy. 🤷♂️😊 |
(None of these changes can be detected by users of the NUnit library.)