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

Code fix for TestCleanupShouldBeValidAnalyzer #2887

Merged
merged 1 commit into from
May 21, 2024

Conversation

Evangelink
Copy link
Member

Add a single code fixer Fix signature that will ensures that:

  • accessibility is public
  • return type is void, Task or ValueTask
  • method is not static
  • method takes no parameter
  • method isn't generic
  • method isn't abstract

The following issues are not fixed:

  • method is not a "normal method" (e.g. operator, finalizer...)
  • class is generic

@Evangelink Evangelink merged commit 25a93de into microsoft:main May 21, 2024
7 checks passed
@Evangelink Evangelink deleted the codefix-testcleanup branch May 21, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant