dotnet / platform-compat

Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
MIT License
278 stars 45 forks source link

Flagging of DllImport use #223

Open paul-777 opened 4 years ago

paul-777 commented 4 years ago

Would be helpful to have DllImport use flagged, use of PInvoke to access Win32 APIs clearly isn't going to work on Linux etc.