From ff7fa62b89be557100be975b546707d25a34d0c3 Mon Sep 17 00:00:00 2001 From: monojenkins Date: Tue, 3 Dec 2019 13:23:16 +0000 Subject: Apply changes from https://github.com/mono/mono/pull/18000 to API snapshot --- profiles/monodroid/mscorlib.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index 91ab256..36caa6d 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -392,9 +392,12 @@ namespace System [System.ObsoleteAttribute("Use AppDomainSetup.ShadowCopyDirectories")] [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ControlAppDomain=true)] public void ClearShadowCopyPath() { } + [System.ObsoleteAttribute("AppDomain.CreateDomain will no longer be supported in .NET 5 and later. Consider AssemblyLoadContext when it becomes available https://docs.microsoft.com/en-us/dotnet/core/dependency-loading/understanding-assemblyloadcontext")] public static System.AppDomain CreateDomain(string friendlyName) { throw null; } + [System.ObsoleteAttribute("AppDomain.CreateDomain will no longer be supported in .NET 5 and later. Consider AssemblyLoadContext when it becomes available https://docs.microsoft.com/en-us/dotnet/core/dependency-loading/understanding-assemblyloadcontext")] public static System.AppDomain CreateDomain(string friendlyName, System.Security.Policy.Evidence securityInfo) { throw null; } [System.MonoLimitationAttribute("Currently it does not allow the setup in the other domain")] + [System.ObsoleteAttribute("AppDomain.CreateDomain will no longer be supported in .NET 5 and later. Consider AssemblyLoadContext when it becomes available https://docs.microsoft.com/en-us/dotnet/core/dependency-loading/understanding-assemblyloadcontext")] [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, ControlAppDomain=true)] public static System.AppDomain CreateDomain(string friendlyName, System.Security.Policy.Evidence securityInfo, System.AppDomainSetup info) { throw null; } public static System.AppDomain CreateDomain(string friendlyName, System.Security.Policy.Evidence securityInfo, string appBasePath, string appRelativeSearchPath, bool shadowCopyFiles) { throw null; } -- cgit v1.2.3