Add type-forwarders for Xamarin.Android compatibility to System.Drawing.Common.dll...
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 8 Mar 2023 13:29:44 +0000 (14:29 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2023 13:29:44 +0000 (14:29 +0100)
commite486f38515a53230b20e5d28087c64730ae997d4
tree55aef2197cad7019ab61101c958d8dc9b8d02a68
parentfbb3a12753da085717e516bdf75a74149f670583
Add type-forwarders for Xamarin.Android compatibility to System.Drawing.Common.dll (#82839)

The legacy Xamarin.Android version of System.Drawing.Common.dll contained these types, add forwarders so we don't get a TypeLoadException when using an assembly compiled against that in modern .NET Android.

Fixes #82829
src/libraries/System.Drawing.Common/src/CompatibilitySuppressions.xml
src/libraries/System.Drawing.Common/src/System.Drawing.Common.Forwards.cs [new file with mode: 0644]
src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj