Remove Reflection.Emit APIs (#56153)
authorBar Arnon <i3arnon@gmail.com>
Thu, 29 Jul 2021 08:22:03 +0000 (11:22 +0300)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 08:22:03 +0000 (10:22 +0200)
commit742ea07eff4ae09efd748ba94f96e536e0a274d0
tree77073f889dd7b5d0afe4f303592217ca4e3649e3
parentd86299ebcf9d15b1cc6cb079c4f29b085b8fc7b2
Remove Reflection.Emit APIs (#56153)

* Remove Reflection.Emit APIs

Removes all unused leftover APIs

Fix #49452

* Fix the api-compat baseline

* Remove the baseline altogether

* Remove fIsTransient refs from .cpp (as well as .h)

* Remove nIsTransientInternal

* Remove DefineDynamicModule & DefineDocument

* Revert "Remove the baseline altogether"

This reverts commit ddb0303af94e6126848ef18cd09a70b55775a43b.

* API compat baseline for GetModuleHandleImpl

* Fix Mono

* Match changes in Mono runtime
15 files changed:
src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs
src/coreclr/vm/assembly.cpp
src/coreclr/vm/ceeload.cpp
src/coreclr/vm/ceeload.h
src/coreclr/vm/commodule.cpp
src/coreclr/vm/ecalllist.h
src/libraries/System.Reflection.Emit/src/MatchingRefApiCompatBaseline.txt
src/mono/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.Mono.cs