microsoft / microsoft/vs-threading
Inherit thread affinity from base types and members
Open
Nobody has claimed this yet.
analyzers
- Dominant language
- C#
- Stars
- 1k
- Forks
- 160
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 28
Description
- Types derived from a type that requires the main thread should also have a main thread requirement
- Members derived from a member that requires the main thread should also have a main thread requirement
Then as a follow-up to the above:
- Members which have a main thread requirement due to inheritance should not report a warning if they are missing a
ThrowIfNotOnUIThreadcall
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the analyzer implementation and its tests for main-thread requirements, then trace how type and member inheritance is handled. Done means inherited requirements are reported and inherited requirements do not require an additional ThrowIfNotOnUIThread warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100