Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add analyzers that suggest replacing obsoleted GetData APIs with the new typed versions #12610

Open
Tanya-Solyanik opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels

Comments

@Tanya-Solyanik
Copy link
Member

Tanya-Solyanik commented Dec 9, 2024

  1. suggest using POCO types for data exchange to simplify resolver implementation, and potentially suggest opting out from the OOB formatters assembly if not needed for other reasons.
  2. replace GetData for POCO types or primitives and known types wth the TryGetData analog with no resolver
  3. point to sample resolvers in github.com/dotnet/samples/windowsforms when getting more complex types.
@Tanya-Solyanik Tanya-Solyanik self-assigned this Dec 9, 2024
@Tanya-Solyanik Tanya-Solyanik added the area-Clipboard Issues related to Clipboard label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant