microsoft / microsoft/vs-threading
VSTHRD013 analyzer to catch thread affinitized MEF part construction
Open
@AArnott is already working on this.
Since Feb 20, 2018.
analyzers
enhancement
- Dominant language
- C#
- Stars
- 1k
- Forks
- 160
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 28
Description
MEF [ImportingConstructor] and the two post-ctor activation methods that MEF can invoke should be free-threaded. An analyzer can help enforce this.
The two post-ctor activation methods are:
- MEFv1: methods that implementation the
IPartImportsSatisfiedNotification.OnImportsSatisfied - MEFv2: methods attributed with
[OnImportsSatisfiedAttribute]
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.
Assessment
This issue has not been assessed yet.