microsoft / microsoft/vs-threading

VSTHRD013 analyzer to catch thread affinitized MEF part construction

Open
#214 0 comments 1 reaction 1 assignee View on GitHub

@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:

  1. MEFv1: methods that implementation the IPartImportsSatisfiedNotification.OnImportsSatisfied
  2. MEFv2: methods attributed with [OnImportsSatisfiedAttribute]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.