diff options
author | Tomas Rylek <trylek@microsoft.com> | 2015-11-26 12:27:22 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-11-30 22:16:03 +0300 |
commit | f3b174aa06e720e0fc7fc379a4e310abf91f3730 (patch) | |
tree | 51a180c58e82a3d6f2fb1b5c0785deff2a3f7458 /src/System.Private.CoreLib | |
parent | a9d32b96bc6aa708d660afe674c129bff61d257c (diff) |
Add new method RegisterModule to explicitly inject a module into the reflection runtime
[tfs-changeset: 1552208]
Diffstat (limited to 'src/System.Private.CoreLib')
-rw-r--r-- | src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs b/src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs index 5dca4f1f2..fd6b4acd5 100644 --- a/src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs +++ b/src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs @@ -23,6 +23,12 @@ namespace Internal.Runtime.Augments [CLSCompliant(false)] public abstract class ReflectionExecutionDomainCallbacks { + /// <summary> + /// Register reflection module. Not thread safe with respect to reflection runtime. + /// </summary> + /// <param name="moduleHandle">Handle of module to register</param> + public abstract void RegisterModule(IntPtr moduleHandle); + // Api's that are exposed in System.Runtime but are really reflection apis. public abstract Object ActivatorCreateInstance(Type type, Object[] args); public abstract Type GetType(String typeName, bool throwOnError, bool ignoreCase); |