mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

Update BinaryCompatBaseline.txt #9525

Closed dalexsoto closed 4 years ago

dalexsoto commented 4 years ago

Update Binary Compatibility Check to reflect the changes in Xamarin.Mac due to the import of HttpClient implementation from CoreFX https://github.com/xamarin/xamarin-macios/commit/5d4ada34c798ca6d84023b42f2bb7e5dfa77dede#diff-450d8ab830620cd9e57f8be5c8f2c625L361-R361

- if (HttpHeaders.GetKnownHeaderKind (key) == Headers.HttpHeaderKind.Content) {
+ if (HeaderDescriptor.TryGet (key, out var descriptor) && descriptor.HeaderType == HttpHeaderType.Content) {

Side note

The Compat check is expected to fail in this PR because it is using the High Sierra instead of the Catalina agents once merged.