diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-12-03 16:23:16 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-12-03 16:23:16 +0300 |
commit | ff7fa62b89be557100be975b546707d25a34d0c3 (patch) | |
tree | 41d53553bd28e9df4bc9bb3620fffb5bc46b812e | |
parent | 53a841ffd666d32cfa893bcd0a686ec69d91a8eb (diff) |
Apply changes from https://github.com/mono/mono/pull/18000 to API snapshot
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |