microsoft / microsoft/CsWin32

Analyzer to remove existing pinvoke methods with CsWin32 based ones

Open
#598 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

analyzers enhancement
Dominant language
C#
Stars
2.5k
Forks
124
Avg merge
1d 3h
Merged PRs (30d)
9

Description

Is your feature request related to a problem? Please describe.
Converting projects requires lots of manual code changes which is difficult for large projects with little resources.

Describe the solution you'd like
A code analyzer would reduce the cognitive burden on the developer.

Describe alternatives you've considered
None.

Additional context

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.

Research direction

The issue names no files, tests, or entry points. Start by reviewing the CsWin32 analyzer and source-generator architecture to define how existing P/Invoke methods would be identified and replaced. Done means a specified analyzer behavior that reduces the manual conversion work, with coverage for the supported conversion cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.