Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Remove AppDomain APIs not available on Xamarin which aren't needed
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard committed Sep 13, 2016
1 parent 1b3f106 commit ed2c486
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions netstandard/ref/mscorlib.appdomain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public sealed partial class AppDomain : System.MarshalByRefObject
public event System.EventHandler DomainUnload { add { } remove { } }
public event System.EventHandler<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs> FirstChanceException { add { } remove { } }
public event System.EventHandler ProcessExit { add { } remove { } }
public event System.ResolveEventHandler ReflectionOnlyAssemblyResolve { add { } remove { } }
// public event System.ResolveEventHandler ReflectionOnlyAssemblyResolve { add { } remove { } }
public event System.ResolveEventHandler ResourceResolve { add { } remove { } }
public event System.ResolveEventHandler TypeResolve { add { } remove { } }
public event System.UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
Expand Down Expand Up @@ -171,8 +171,8 @@ public sealed partial class AppDomain : System.MarshalByRefObject
public void SetCachePath(string path) { }
public void SetData(string name, object data) { }
//CAS public void SetData(string name, object data, System.Security.IPermission permission) { }
[System.ObsoleteAttribute("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string path) { }
// [System.ObsoleteAttribute("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")]
// public void SetDynamicBase(string path) { }
public void SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy policy) { }
[System.ObsoleteAttribute("AppDomain.SetShadowCopyFiles has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyFiles instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetShadowCopyFiles() { }
Expand Down
5 changes: 1 addition & 4 deletions netstandard/src/ApiCompatBaseline.xamarin.ios.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ CannotRemoveBaseTypeOrInterface : Type 'Microsoft.Win32.SafeHandles.SafeNCryptKe
CannotRemoveBaseTypeOrInterface : Type 'Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle' does not inherit from base type 'Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid' in the implementation but it does in the contract.
CannotRemoveBaseTypeOrInterface : Type 'Microsoft.Win32.SafeHandles.SafeNCryptSecretHandle' does not inherit from base type 'Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid' in the implementation but it does in the contract.
CannotRemoveBaseTypeOrInterface : Type 'Microsoft.Win32.SafeHandles.SafeX509ChainHandle' does not inherit from base type 'Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid' in the implementation but it does in the contract.
MembersMustExist : Member 'System.AppDomain.add_ReflectionOnlyAssemblyResolve(System.ResolveEventHandler)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.AppDomain.remove_ReflectionOnlyAssemblyResolve(System.ResolveEventHandler)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.AppDomain.SetDynamicBase(System.String)' does not exist in the implementation but it does exist in the contract.
CannotRemoveBaseTypeOrInterface : Type 'System.ContextBoundObject' does not inherit from base type 'System.MarshalByRefObject' in the implementation but it does in the contract.
MembersMustExist : Member 'System.Environment.GetEnvironmentVariable(System.String, System.EnvironmentVariableTarget)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Environment.GetEnvironmentVariables(System.EnvironmentVariableTarget)' does not exist in the implementation but it does exist in the contract.
Expand Down Expand Up @@ -354,4 +351,4 @@ MembersMustExist : Member 'System.Xml.Serialization.XmlSerializerFactory.CreateS
MembersMustExist : Member 'System.Xml.Xsl.XslCompiledTransform.Load(System.Reflection.MethodInfo, System.Byte[], System.Type[])' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Xml.Xsl.XslCompiledTransform.Load(System.Type)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Xml.Xsl.XslCompiledTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.Xml.XmlWriter, System.Xml.XmlResolver)' does not exist in the implementation but it does exist in the contract.
Total Issues: 355
Total Issues: 352

0 comments on commit ed2c486

Please sign in to comment.