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