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

Ambiguous/incorrect error for wrong visibility modifier on HandleAsync #57

Closed
elianora opened this issue Apr 8, 2024 · 0 comments · Fixed by #58
Closed

Ambiguous/incorrect error for wrong visibility modifier on HandleAsync #57

elianora opened this issue Apr 8, 2024 · 0 comments · Fixed by #58

Comments

@elianora
Copy link

elianora commented Apr 8, 2024

When creating a HandleAsync method on a handler and marking it public, the error/warning IHR0011 is provided, claiming that "the method 'HandleAsync' must not conflict with another static handler message". This error is not what I would expect for incorrect visibility - setting the method to private fixes the error.

image

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 a pull request may close this issue.

1 participant