Skip to content

Fixed false warning for IDISP010 when using abstract override #579

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sjoerdsjoerd
Copy link

@Sjoerdsjoerd Sjoerdsjoerd commented Mar 6, 2025

Fixed #575

I found out that the bug was introduced by using external abstract overrides. I fixed this to exclude checking if a class is abstract as they do not implement Disposables, so you do not have to call them.

In addition, added two test to test the abstract behavior

@Sjoerdsjoerd Sjoerdsjoerd changed the title Fix abstract override Fixed false warning for IDISP010 when using abstract override Mar 6, 2025
Copy link

@Corniel Corniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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 this pull request may close these issues.

IDISP010 False warning when base method is abstract
2 participants