Development discussion of Xamarin.Android: https://github.com/xamarin/xamarin-android
Android Class Parser to jar2xml as a workaround, it should avoid this crash, but it may fail elsewhere
boots, it's faster to install a pkg than a vsixSystem.Index and System.Range types, and C# interface default members. BUT, while you can compile code using interface default members, XA 10.0 has a bug in which those are replaced at packaging time, breaking things. That issue is fixed in the XA10.0.99/VS 16.4 P1, which also introduces support for binding Java 8 interface default methods as C#8 default interface members: https://docs.microsoft.com/en-us/xamarin/android/release-notes/10/10.1#binding-project-improvements-with-c-80-for-java-interface-members
0xD in System.IO.MemoryStream.EnsureNotClosed C#
0x1 in System.IO.MemoryStream.get_Length C#
0x6 in System.Net.Http.HttpContent.ReadBufferedContentAsString C#
0x1 in System.Net.Http.HttpContent.<>c.<ReadAsStringAsync>b__36_0 C#
0x77 in System.Net.Http.HttpContent.<WaitAndReturnAsync>d__67<System.Net.Http.WaitAndReturnAsync C#
0x33 in System.Runtime.CompilerServices.AsyncTaskMethodBuilder<string>.Start<System.Net.Http.HttpContent.<WaitAndReturnAsync>d__67<System.Net.Http.HttpContent,string>> C#
0x37 in System.Net.Http.HttpContent.WaitAndReturnAsync<System.Net.Http.HttpContent, string> C#
0x2C in System.Net.Http.HttpContent.ReadAsStringAsync C#
As context : I am calling await System.Net.Http.HttpClientExtensions.PostAsJsonAsync<T>(this HttpClient client, string requestUri, T value, CancellationToken cancellationToken)
This gives me a HttpResponseMessage that I'm accessing right after that await, and I get the exception
_disposed=true
HttpClient is from corefx now: https://github.com/dotnet/corefx/tree/master/src/System.Net.Http/src/System/Net/Http
One likely possibility for slow debugging is xamarin/xamarin-android#3456 aka https://developercommunity.visualstudio.com/content/problem/661739/vs162-debugger-slows-down-and-stops-when-navigatin.html .
A bit of technical info about the status of that in: https://github.com/xamarin/xamarin-android/issues/3456#issuecomment-533685619