microsoft / microsoft/vs-threading
Analyzers support thread affinity tracking for events
Open
Nobody has claimed this yet.
analyzers
- Dominant language
- C#
- Stars
- 1k
- Forks
- 160
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 28
Description
- Attaching a handler to an event with main thread affinity should mark the handler as called from the main thread
- Invoking an event with main thread affinity should be treated as an invocation that requires the caller to be on the main thread
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
No file or test is named. Begin by locating the analyzers that handle event-handler attachment and invocation, then trace how main-thread affinity is represented; done means attachment marks the handler as called from the main thread and invocation requires the caller to be on it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100