dotnet/winforms

Cleanup API targeting unsupported platforms

Aberta

#1.640 aberto em 15 de ago. de 2019

 (1 comentário) (0 reação) (0 responsável)C# (922 forks)batch import
code cleanuphelp wanted

Métricas do repositório

Stars
 (4.100 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador