We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For the below case for example, it would be possible to use Stream instead of FileStream:
Stream
FileStream
using (FileStream stream = File.Open(@"c:\dev\foo.txt", FileMode.Open))
Cases to cover:
The text was updated successfully, but these errors were encountered:
ported to DotNetAnalyzers/Proposals#11
Sorry, something went wrong.
No branches or pull requests
For the below case for example, it would be possible to use
Stream
instead ofFileStream
:Cases to cover:
FileStream
is not used inside the code block.The text was updated successfully, but these errors were encountered: