-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove trim warnings from ComponentModel APIs that take Type as a parameter #97841
Comments
Tagging subscribers to this area: @dotnet/area-system-componentmodel Issue DetailsWinForms have calls to ComponentModel APIs with a type as a parameter that gets trim warnings due to these APIs having RequiresUnreferencedCodeAttribute. Consider making trim compatible versions of these APIs, perhaps with a feature switch set.
|
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr, @marek-safar Issue DetailsWinForms have calls to ComponentModel APIs with a type as a parameter that gets trim warnings due to these APIs having RequiresUnreferencedCodeAttribute. Consider making trim compatible versions of these APIs, perhaps with a feature switch set.
Note that some of these APIs have the pattern object.GetType() to get the type parameter. A fuller list of these APIs can be found,
|
If this is an API suggestion, please add that. For example, I assume to be trim compatible will will want generic versions of these methods. |
This issue has been marked |
This issue has been automatically marked |
This issue will now be closed since it had been marked |
WinForms have calls to ComponentModel APIs with a type as a parameter that gets trim warnings due to these APIs having RequiresUnreferencedCodeAttribute. Consider making trim compatible versions of these APIs, perhaps with a feature switch set.
Note that some of these APIs have the pattern object.GetType() to get the type parameter. A fuller list of these APIs can be found,
Default_Trimmed_Warnings_wpf_attributes_excluded_ComponentModel_Type.txt
The text was updated successfully, but these errors were encountered: