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

False positive IDISP004 on TcpClient #513

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

False positive IDISP004 on TcpClient #513

sungam3r opened this issue Jul 26, 2023 · 0 comments

Comments

@sungam3r
Copy link
Contributor

TcpClient.GetStream() call shows IDISP004 warning/error. Would it be possible to add exclusion for that API in analyzer knowing that returned stream is disposed by TcpClient itself?

TcpClient sources:
изображение

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