Skip to content

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

Merged
Andrew Arnott (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
Andrew Arnott (AArnott) merged 1 commit into
microsoft:mainfrom
AArnott:analyzerFixes

Conversation

@AArnott

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
Andrew Arnott (AArnott) merged commit 2c4aebe into microsoft:main Nov 22, 2023
@AArnott
Andrew Arnott (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