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
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