-
Notifications
You must be signed in to change notification settings - Fork 161
Fix VSTHRD002 completion analysis and extensibility #1648
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b5d41ba
Fix VSTHRD002 completion analysis and extensibility
AArnott 05a9fc4
Address VSTHRD002 review feedback
AArnott 8d0cc24
Fix code fix analyzer style violations
AArnott a6c02ea
Handle parenthesized awaiters in continuations
AArnott 1d594a3
Harden VSTHRD002 completion proofs
AArnott 28db7ee
Track VSTHRD002 ref aliases
AArnott 60af3a2
Refine VSTHRD002 control flow proofs
AArnott a0b2eb4
Complete VSTHRD002 alias analysis
AArnott 9e0d607
Harden completion branches and awaiter fixes
AArnott 38bd17c
Make VSTHRD002 alias analysis flow-aware
AArnott 2795a2b
Harden deferred VSTHRD002 analysis
AArnott 4dce6ff
Respect VSTHRD103 exclusions in VSTHRD002
AArnott 0bbc37a
Harden VSTHRD002 review edge cases
AArnott 9aaa961
Restrict await fixes to convertible methods
AArnott 9232e0c
Align completion proofs across analyzers
AArnott edd04e8
Handle completed waits and forbidden awaits
AArnott 405299e
Avoid await fixes for ref-like signatures
AArnott d63118f
Harden VSTHRD002 completion analysis
AArnott b7e4be0
Guard await fixes against delegate references
AArnott f3c32b5
Merge origin/main into VSTHRD002 fixes
AArnott d8cc972
Reject by-ref parameter completion proofs
AArnott dee2308
Merge origin/main after VSTHRD200 update
AArnott 2a1a1bc
Harden VSTHRD002 flow and code fixes
AArnott 9c60d57
Validate async alternative applicability
AArnott 87226fe
Harden VSTHRD002 contract conversion
AArnott 394ae0a
Cover additional VSTHRD002 flow cases
AArnott bdb808f
Harden VSTHRD002 flow analysis
AArnott 2e2d14e
Harden VSTHRD002 caller conversion
AArnott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,410 changes: 1,312 additions & 98 deletions
1,410
src/Microsoft.VisualStudio.Threading.Analyzers.CSharp/CSharpCommonInterest.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.