Add public MethodInvoker and ConstructorInvoker classes (#88415)
authorSteve Harter <steveharter@users.noreply.github.com>
Sat, 15 Jul 2023 01:35:47 +0000 (20:35 -0500)
committerGitHub <noreply@github.com>
Sat, 15 Jul 2023 01:35:47 +0000 (20:35 -0500)
commit0a587ff42640684f88b6359d4100eaf0ad95b03d
tree95a644caedd78ece640f54b088503e278ed963b9
parent8064e912fbf6bf470b9551104eebf392b8eac034
Add public MethodInvoker and ConstructorInvoker classes (#88415)
80 files changed:
src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/System.Private.CoreLib/src/System/Reflection/ConstructorInvoker.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs [new file with mode: 0644]
src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodInvoker.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeCustomAttributeData.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/CompatibilitySuppressions.xml
src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Reflection/Core/Execution/ExecutionEnvironment.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Reflection/Core/Execution/MethodBaseInvoker.cs [moved from src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Reflection/Core/Execution/MethodInvoker.cs with 80% similarity]
src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Runtime/Augments/RuntimeAugments.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System.Private.CoreLib.csproj
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/ConstructorInvoker.cs [new file with mode: 0644]
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/DynamicInvokeInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs [new file with mode: 0644]
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/General/ReflectionCoreCallbacksImplementation.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/CustomMethodInvoker.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/CustomMethodMapper.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/IRuntimeMethodCommon.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/NativeFormat/NativeFormatMethodCommon.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/OpenMethodInvoker.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeConstructedGenericMethodInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeConstructorInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeDummyMethodInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeMethodInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeNamedMethodInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimePlainConstructorInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeSyntheticConstructorInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/RuntimeSyntheticMethodInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/PropertyInfos/RuntimePropertyInfo.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/ExecutionEnvironmentImplementation.MappingTables.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/ExecutionEnvironmentImplementation.Runtime.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/InstanceMethodInvoker.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/MethodInvokerWithMethodInvokeInfo.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/StaticMethodInvoker.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/VirtualMethodInvoker.cs
src/coreclr/vm/appdomain.cpp
src/coreclr/vm/corelib.h
src/coreclr/vm/ecalllist.h
src/libraries/Common/tests/System/Reflection/InvokeEmitTests.cs
src/libraries/Common/tests/System/Reflection/InvokeInterpretedTests.cs
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/Reflection/ConstructorInvoker.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/InvokeUtils.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/InvokerEmitUtil.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBase.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Constructor.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvokerCommon.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Reflection/ParameterCopyBackAction.cs [deleted file]
src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/GCFrameRegistration.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/RuntimeType.cs
src/libraries/System.Reflection/tests/ConstructorInvokerTests.cs [new file with mode: 0644]
src/libraries/System.Reflection/tests/MethodInfoTests.cs
src/libraries/System.Reflection/tests/MethodInvokerTests.cs [new file with mode: 0644]
src/libraries/System.Reflection/tests/System.Reflection.Tests.csproj
src/libraries/System.Runtime/ref/System.Runtime.cs
src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj
src/mono/System.Private.CoreLib/src/System/Reflection/ConstructorInvoker.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs [new file with mode: 0644]
src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs
src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs
src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.Mono.cs
src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.Mono.cs
src/mono/System.Private.CoreLib/src/System/Runtime/GCFrameRegistration.Mono.cs [new file with mode: 0644]
src/mono/System.Private.CoreLib/src/System/RuntimeType.Mono.cs
src/mono/System.Private.CoreLib/src/System/RuntimeTypeHandle.cs
src/tests/nativeaot/SmokeTests/Reflection/Reflection.cs