Skip to content

Warn if event registration and de-registration are in same method #476

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

Open
RalfKoban opened this issue Mar 11, 2022 · 0 comments
Open

Warn if event registration and de-registration are in same method #476

RalfKoban opened this issue Mar 11, 2022 · 0 comments

Comments

@RalfKoban
Copy link
Owner

RalfKoban commented Mar 11, 2022

We should report a warning if a method contains the registration on events such as the deregistration. Most probably the user wants to register or deregister, bot not both at the same time (especially not deregister before register).

@RalfKoban RalfKoban changed the title Warn if event registration and dereistration are in same method Warn if event registration and de-registration are in same method Apr 3, 2022
@RalfKoban RalfKoban moved this to Next in MiKo Analyzers Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next
Development

No branches or pull requests

1 participant