[mono] Remove some of the restrictions on constrained calls from (#59182)
authorZoltan Varga <vargaz@gmail.com>
Fri, 17 Sep 2021 19:29:02 +0000 (21:29 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 19:29:02 +0000 (21:29 +0200)
commit23a8a620d0d09cfe0f5f593de6d5befbb92c83cd
tree36b0d19214107d309305f866023c5cadb6b53ca4
parente9869c300d4aa2ec0d35db60a9b75147b085d21c
[mono] Remove some of the restrictions on constrained calls from (#59182)

* [mono] Remove some of the restrictions on constrained calls from
gsharedvt methods.

Fixes https://github.com/dotnet/runtime/issues/58204.

* Reenable tests.
16 files changed:
src/libraries/System.Text.Json/tests/Common/CollectionTests/CollectionTests.Dictionary.NonStringKey.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/NewtonsoftTests/JsonSerializerTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/CacheTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/CollectionTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/NullableTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/NumberHandlingTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Object.ReadTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Object.WriteTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/ReadValueTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/ReferenceHandlerTests.Deserialize.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/SpanTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Stream.Collections.cs
src/mono/mono/mini/gshared.cs
src/mono/mono/mini/jit-icalls.c
src/mono/mono/mini/jit-icalls.h
src/mono/mono/mini/method-to-ir.c