dotnet / dotnet/linker

IL2050 should be reported on the PInvoke and not on the callsite

Open
#2,879 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

IL2050 P/Invoke method declares COM parameters - is generated on each callsite, but the decision if the warning should be produced is solely based on the PInvoke itself - so in a way the PInvoke itself is to blame and not the callsite.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.