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 code fix for AssemblyInitializeShouldBeValidAnalyzer #2882

Merged
merged 2 commits into from
May 21, 2024

Conversation

Evangelink
Copy link
Member

Add a single code fixer Fix signature that will ensure that the signature:

  • accessibility is public
  • return type is void, Task or ValueTask
  • method is static
  • method takes a single TestContext parameter
  • method isn't generic

The following issues are not fixed:

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

@Evangelink Evangelink merged commit 238bab4 into microsoft:main May 21, 2024
7 checks passed
@Evangelink Evangelink deleted the codefix-asminit 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