Skip to content

Avoid VSTHRD003 diagnostic for properties on objects created by async methods#1263

Merged
AArnott merged 1 commit into
microsoft:mainfrom
AArnott:analyzerFixes
Nov 22, 2023
Merged

Avoid VSTHRD003 diagnostic for properties on objects created by async methods#1263
AArnott merged 1 commit into
microsoft:mainfrom
AArnott:analyzerFixes

Conversation

@AArnott

@AArnott AArnott commented Nov 22, 2023

Copy link
Copy Markdown
Member

We already avoided such cases when the creating method was synchronous, but we missed the async case. This came up when trying to update the analyzers version used by the VS repo.

… methods

We already avoided such cases when the creating method was synchronous, but we missed the async case. This came up when trying to update the analyzers version used by the VS repo.
@AArnott AArnott added this to the v17.9 milestone Nov 22, 2023
@AArnott AArnott enabled auto-merge November 22, 2023 19:42
@AArnott AArnott merged commit 2c4aebe into microsoft:main Nov 22, 2023
@AArnott AArnott deleted the analyzerFixes branch November 22, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants