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
Follow up to #6229
#6229 (comment)
S2952 recognizes this pattern:
public void Cleanup() => fs.Dispose(); // Compliant: disposal is taking place in Dispose() too public void Dispose() => fs.Dispose();
These comparable constructs are not detected
public void Cleanup() => fs.Dispose(); // FP public void override Dispose(bool disposing) => fs.Dispose();
public void Cleanup() => fs.Dispose(); // FP public Task DisposeAsync(bool disposing) => fs.Dispose();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Follow up to #6229
#6229 (comment)
Description
S2952 recognizes this pattern:
These comparable constructs are not detected
The text was updated successfully, but these errors were encountered: