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

Remove unused methods #3305

Merged
merged 1 commit into from
Jul 6, 2019
Merged

Conversation

jnm2
Copy link
Contributor

@jnm2 jnm2 commented Jul 4, 2019

(None of these changes can be detected by users of the NUnit library.)

@jnm2 jnm2 requested a review from a team July 4, 2019 18:01
@@ -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);
Copy link
Contributor Author

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.

@jnm2 jnm2 changed the title Remove unused methods [wip] Remove unused methods Jul 4, 2019
@jnm2 jnm2 force-pushed the remove_unused_methods branch from 0f272ce to a6cb061 Compare July 4, 2019 18:21
@jnm2 jnm2 changed the title [wip] Remove unused methods Remove unused methods Jul 4, 2019
@jnm2
Copy link
Contributor Author

jnm2 commented Jul 4, 2019

Copy link
Member

@ChrisMaddock ChrisMaddock left a comment

Choose a reason for hiding this comment

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

LGTM. 🙂

@ChrisMaddock ChrisMaddock merged commit 5effc6f into nunit:master Jul 6, 2019
@ChrisMaddock ChrisMaddock added this to the 3.13 milestone Jul 6, 2019
@jnm2 jnm2 deleted the remove_unused_methods branch July 7, 2019 02:32
@jnm2
Copy link
Contributor Author

jnm2 commented Jul 7, 2019

@ChrisMaddock Do you think we should remove the awaiting label at the same time as applying the closed label?

@ChrisMaddock
Copy link
Member

Can do...I was just being lazy. 🤷‍♂️😊

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.

2 participants