Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Activator.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Activator.cs45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Activator.cs b/src/System.Private.CoreLib/src/System/Activator.cs
index 8ecfa24b8..b098adfd5 100644
--- a/src/System.Private.CoreLib/src/System/Activator.cs
+++ b/src/System.Private.CoreLib/src/System/Activator.cs
@@ -11,6 +11,7 @@ using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
+using System.Runtime.Remoting;
using System.Runtime;
using Internal.Reflection.Augments;
@@ -147,6 +148,50 @@ namespace System
}
private const BindingFlags ConstructorDefault = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
+
+ public static ObjectHandle CreateInstance(string assemblyName, string typeName)
+ {
+ throw new PlatformNotSupportedException(); // https://github.com/dotnet/corefx/issues/30845
+ }
+
+ public static ObjectHandle CreateInstance(string assemblyName,
+ string typeName,
+ bool ignoreCase,
+ BindingFlags bindingAttr,
+ Binder binder,
+ object[] args,
+ CultureInfo culture,
+ object[] activationAttributes)
+ {
+ throw new PlatformNotSupportedException(); // https://github.com/dotnet/corefx/issues/30845
+ }
+
+ public static ObjectHandle CreateInstance(string assemblyName, string typeName, object[] activationAttributes)
+ {
+ throw new PlatformNotSupportedException(); // https://github.com/dotnet/corefx/issues/30845
+ }
+
+ public static ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName)
+ {
+ throw new PlatformNotSupportedException();
+ }
+
+ public static ObjectHandle CreateInstanceFrom(string assemblyFile,
+ string typeName,
+ bool ignoreCase,
+ BindingFlags bindingAttr,
+ Binder binder,
+ object[] args,
+ CultureInfo culture,
+ object[] activationAttributes)
+ {
+ throw new PlatformNotSupportedException();
+ }
+
+ public static ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, object[] activationAttributes)
+ {
+ throw new PlatformNotSupportedException();
+ }
}
}