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

IDISP013 false positive #512

Open
sungam3r opened this issue Jul 25, 2023 · 0 comments
Open

IDISP013 false positive #512

sungam3r opened this issue Jul 25, 2023 · 0 comments

Comments

@sungam3r
Copy link
Contributor

See https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/eaa25c2ee61eb13ef887fe5b3e2c3abfb2454984/src/HealthChecks.IbmMQ/IbmMQHealthCheck.cs#L32

изображение

Possible "fix":
изображение

Reading docs about that I think that it's worth to make check better by inspecting that disposable object is really used in using block. In all my cases I just return constant value.

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

No branches or pull requests

1 participant