Skip to content

Make VSTHRD200 ignore DisposeAsyncCore#1238

Merged
AArnott merged 1 commit intomicrosoft:mainfrom
MartyIX:feature/VSTHRD200-DisposeCoreAsync-exception
Oct 9, 2023
Merged

Make VSTHRD200 ignore DisposeAsyncCore#1238
AArnott merged 1 commit intomicrosoft:mainfrom
MartyIX:feature/VSTHRD200-DisposeCoreAsync-exception

Conversation

@MartyIX
Copy link
Copy Markdown
Contributor

@MartyIX MartyIX commented Oct 6, 2023

Fixes #805

DisposeAsyncCore is recommended in https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync#the-disposeasynccore-method and as such I believe there should be no warning for the special case.

Though @sharwell mentioned that the name might not be final here. But it's been 2.5 years so my guess is that the topic is not especially hot since nothing has seemingly happened since then.

Copy link
Copy Markdown
Member

@AArnott AArnott left a comment

Choose a reason for hiding this comment

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

Thanks!

@AArnott AArnott merged commit a74e8e8 into microsoft:main Oct 9, 2023
@MartyIX MartyIX deleted the feature/VSTHRD200-DisposeCoreAsync-exception branch October 9, 2023 20:02
@AArnott AArnott added this to the v17.9 milestone Oct 25, 2023
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.

VSTHRD200 reports DisposeAsyncCore

2 participants