Imported Upstream version 6.0.0.271

Former-commit-id: 2fde65daab17ed3bb08a7be86fb05423d63b0290
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-05-29 08:54:19 +00:00
parent 8f11a00d09
commit 2ba231cd0c
155 changed files with 1067 additions and 794 deletions

View File

@@ -29,9 +29,7 @@ namespace System {
using System.Threading;
using System.Runtime.InteropServices;
using System.Runtime.Remoting;
#if !FULL_AOT_RUNTIME
using System.Reflection.Emit;
#endif
using CultureInfo = System.Globalization.CultureInfo;
using System.IO;
using System.Runtime.Versioning;
@@ -88,7 +86,7 @@ namespace System {
[method:System.Security.SecurityCritical]
event UnhandledExceptionEventHandler UnhandledException;
#if !FULL_AOT_RUNTIME
AssemblyBuilder DefineDynamicAssembly(AssemblyName name,
AssemblyBuilderAccess access);
@@ -141,7 +139,7 @@ namespace System {
PermissionSet optionalPermissions,
PermissionSet refusedPermissions,
bool isSynchronized);
#endif
ObjectHandle CreateInstance(String assemblyName,
String typeName);

View File

@@ -31,7 +31,7 @@ namespace System.Runtime.InteropServices {
{
if (obj != null)
{
#if FULL_AOT_RUNTIME
#if FULL_AOT_RUNTIME || MONOTOUCH
throw new PlatformNotSupportedException ();
#else
// Make sure this guy has an IDispatch

View File

@@ -304,7 +304,7 @@ namespace System.Runtime.InteropServices
VARFLAG_FIMMEDIATEBIND =0x1000
}
#if !FULL_AOT_RUNTIME
#if !FULL_AOT_RUNTIME && !MONOTOUCH
[Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
[Guid("00020401-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]