dotnet/winforms

Cleanup API targeting unsupported platforms

Open

#1,640 opened on Aug 15, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (922 forks)batch import
code cleanuphelp wanted

Repository metrics

Stars
 (4,100 stars)
PR merge metrics
 (Avg merge 14d 22h) (56 merged PRs in 30d)

Description

Problem description:

As per the API docs review, we don't support OS prior to W7SP1, so we need to cleanup unused API/reference for unsupported platforms. E.g. https://github.com/dotnet/winforms/search?q=vista&unscoped_q=vista

Expected behavior:

  • Obosolete API, where appropriate, or
  • Throw PlatformNotSupportedException

Contributor guide