GitHub repository: lewing/platform-compat
Description: Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.