C#-CheckPInvoke¶
Check whether names and signatures of P/Invoke declarations match their native counterparts
Required inputs: CSharpAST, IR
This rule checks whether names and signatures of C# P/Invoke declarations match their native C/C++ counterparts.
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
import_signature_mismatch |
DLL import signature does not match native export signature |
None |
False |
missing_dllexport |
Missing native export for DLL import “{0}” (EntryPoint=”{1}”). |
None |
False |
Options
This rule shares the following common options: excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.