diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-01-23 19:22:39 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-01-23 19:22:39 +0300 |
commit | a2cbd1031854c36f00a052870dba1587695e3e60 (patch) | |
tree | 92566eb7357ed8c4bf979b1eefe7a689b22b6b95 /profiles | |
parent | ae8d6a580e22b1feaa2b61b40b47cfd961e92c27 (diff) |
Apply changes from https://github.com/mono/mono/pull/12548 to API snapshot
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 44 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 18 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 44 |
3 files changed, 0 insertions, 106 deletions
diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index d439c80..4e4b899 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -14822,13 +14822,9 @@ namespace System.Runtime.InteropServices public static System.IntPtr AllocHGlobal(int cb) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] public static System.IntPtr AllocHGlobal(System.IntPtr cb) { throw null; } - [System.MonoTODOAttribute] public static bool AreComObjectsAvailableForCleanup() { throw null; } - [System.MonoTODOAttribute] public static object BindToMoniker(string monikerName) { throw null; } - [System.MonoTODOAttribute] public static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) { } - [System.MonoTODOAttribute] public static void CleanupUnusedObjectsInCurrentContext() { } public static void Copy(byte[] source, int startIndex, System.IntPtr destination, int length) { } public static void Copy(char[] source, int startIndex, System.IntPtr destination, int length) { } @@ -14860,48 +14856,36 @@ namespace System.Runtime.InteropServices public static void FreeHGlobal(System.IntPtr hglobal) { } public static System.Guid GenerateGuidForType(System.Type type) { throw null; } public static string GenerateProgIdForType(System.Type type) { throw null; } - [System.MonoTODOAttribute] public static object GetActiveObject(string progID) { throw null; } public static System.IntPtr GetComInterfaceForObject(object o, System.Type T) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetComInterfaceForObject(object o, System.Type T, System.Runtime.InteropServices.CustomQueryInterfaceMode mode) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetComInterfaceForObjectInContext(object o, System.Type t) { throw null; } public static System.IntPtr GetComInterfaceForObject<T, TInterface>(T o) { throw null; } - [System.MonoNotSupportedAttribute("MSDN states user code should never need to call this method.")] public static object GetComObjectData(object obj, object key) { throw null; } public static int GetComSlotForMethodInfo(System.Reflection.MemberInfo m) { throw null; } public static System.Delegate GetDelegateForFunctionPointer(System.IntPtr ptr, System.Type t) { throw null; } public static TDelegate GetDelegateForFunctionPointer<TDelegate>(System.IntPtr ptr) { throw null; } - [System.MonoTODOAttribute] public static int GetEndComSlot(System.Type t) { throw null; } public static int GetExceptionCode() { throw null; } public static System.Exception GetExceptionForHR(int errorCode) { throw null; } public static System.Exception GetExceptionForHR(int errorCode, System.IntPtr errorInfo) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.InteropServices.ComVisibleAttribute(true)] public static System.IntPtr GetExceptionPointers() { throw null; } public static System.IntPtr GetFunctionPointerForDelegate(System.Delegate d) { throw null; } public static System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) { throw null; } public static System.IntPtr GetHINSTANCE(System.Reflection.Module m) { throw null; } public static int GetHRForException(System.Exception e) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int GetHRForLastWin32Error() { throw null; } public static System.IntPtr GetIDispatchForObject(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetIDispatchForObjectInContext(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetITypeInfoForType(System.Type t) { throw null; } public static System.IntPtr GetIUnknownForObject(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetIUnknownForObjectInContext(object o) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int GetLastWin32Error() { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.IntPtr GetManagedThunkForUnmanagedMethodPtr(System.IntPtr pfnMethodToWrap, System.IntPtr pbSignature, int cbSignature) { throw null; } - [System.MonoTODOAttribute] public static System.Reflection.MemberInfo GetMethodInfoForComSlot(System.Type t, int slot, ref System.Runtime.InteropServices.ComMemberType memberType) { throw null; } public static void GetNativeVariantForObject(object obj, System.IntPtr pDstNativeVariant) { } public static void GetNativeVariantForObject<T>(T obj, System.IntPtr pDstNativeVariant) { } @@ -14910,46 +14894,31 @@ namespace System.Runtime.InteropServices public static T GetObjectForNativeVariant<T>(System.IntPtr pSrcNativeVariant) { throw null; } public static object[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } public static T[] GetObjectsForNativeVariants<T>(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } - [System.MonoTODOAttribute] public static int GetStartComSlot(System.Type t) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.Threading.Thread GetThreadFromFiberCookie(int cookie) { throw null; } public static object GetTypedObjectForIUnknown(System.IntPtr pUnk, System.Type t) { throw null; } - [System.MonoTODOAttribute] public static System.Type GetTypeForITypeInfo(System.IntPtr piTypeInfo) { throw null; } public static System.Type GetTypeFromCLSID(System.Guid clsid) { throw null; } public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static string GetTypeInfoName(System.Runtime.InteropServices.UCOMITypeInfo pTI) { throw null; } - [System.MonoTODOAttribute] public static System.Guid GetTypeLibGuid(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static System.Guid GetTypeLibGuid(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static System.Guid GetTypeLibGuidForAssembly(System.Reflection.Assembly asm) { throw null; } - [System.MonoTODOAttribute] public static int GetTypeLibLcid(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static int GetTypeLibLcid(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static string GetTypeLibName(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static string GetTypeLibName(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static void GetTypeLibVersionForAssembly(System.Reflection.Assembly inputAssembly, out int majorVersion, out int minorVersion) { throw null; } public static object GetUniqueObjectForIUnknown(System.IntPtr unknown) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.IntPtr GetUnmanagedThunkForManagedMethodPtr(System.IntPtr pfnMethodToWrap, System.IntPtr pbSignature, int cbSignature) { throw null; } public static bool IsComObject(object o) { throw null; } - [System.MonoTODOAttribute] public static bool IsTypeVisibleFromCom(System.Type t) { throw null; } - [System.MonoTODOAttribute] public static int NumParamBytes(System.Reflection.MethodInfo m) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static System.IntPtr OffsetOf(System.Type t, string fieldName) { throw null; } public static System.IntPtr OffsetOf<T>(string fieldName) { throw null; } @@ -14973,26 +14942,22 @@ namespace System.Runtime.InteropServices public static int QueryInterface(System.IntPtr pUnk, ref System.Guid iid, out System.IntPtr ppv) { throw null; } public static byte ReadByte(System.IntPtr ptr) { throw null; } public static byte ReadByte(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static byte ReadByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } public static short ReadInt16(System.IntPtr ptr) { throw null; } public static short ReadInt16(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static short ReadInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static int ReadInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static long ReadInt64(System.IntPtr ptr) { throw null; } public static long ReadInt64(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static long ReadInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } @@ -15000,7 +14965,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr ReadIntPtr(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static System.IntPtr ReAllocCoTaskMem(System.IntPtr pv, int cb) { throw null; } @@ -15008,7 +14972,6 @@ namespace System.Runtime.InteropServices [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int Release(System.IntPtr pUnk) { throw null; } public static int ReleaseComObject(object o) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static void ReleaseThreadCache() { } public static System.IntPtr SecureStringToBSTR(System.Security.SecureString s) { throw null; } @@ -15016,7 +14979,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; } public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; } public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; } - [System.MonoNotSupportedAttribute("MSDN states user code should never need to call this method.")] public static bool SetComObjectData(object obj, object key, object data) { throw null; } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public static int SizeOf(object structure) { throw null; } @@ -15041,31 +15003,25 @@ namespace System.Runtime.InteropServices public static System.IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index) { throw null; } public static void WriteByte(System.IntPtr ptr, byte val) { } public static void WriteByte(System.IntPtr ptr, int ofs, byte val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, byte val) { throw null; } public static void WriteInt16(System.IntPtr ptr, char val) { } public static void WriteInt16(System.IntPtr ptr, short val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, char val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, short val) { } - [System.MonoTODOAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out]object ptr, int ofs, char val) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, short val) { throw null; } public static void WriteInt32(System.IntPtr ptr, int val) { } public static void WriteInt32(System.IntPtr ptr, int ofs, int val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, int val) { throw null; } public static void WriteInt64(System.IntPtr ptr, int ofs, long val) { } public static void WriteInt64(System.IntPtr ptr, long val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, long val) { throw null; } public static void WriteIntPtr(System.IntPtr ptr, int ofs, System.IntPtr val) { } public static void WriteIntPtr(System.IntPtr ptr, System.IntPtr val) { } - [System.MonoTODOAttribute] public static void WriteIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, System.IntPtr val) { throw null; } public static void ZeroFreeBSTR(System.IntPtr s) { } public static void ZeroFreeCoTaskMemAnsi(System.IntPtr s) { } diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index d75024f..722eef6 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -14156,13 +14156,9 @@ namespace System.Runtime.InteropServices public static System.IntPtr AllocHGlobal(int cb) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] public static System.IntPtr AllocHGlobal(System.IntPtr cb) { throw null; } - [System.MonoTODOAttribute] public static bool AreComObjectsAvailableForCleanup() { throw null; } - [System.MonoTODOAttribute] public static object BindToMoniker(string monikerName) { throw null; } - [System.MonoTODOAttribute] public static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) { } - [System.MonoTODOAttribute] public static void CleanupUnusedObjectsInCurrentContext() { } public static void Copy(byte[] source, int startIndex, System.IntPtr destination, int length) { } public static void Copy(char[] source, int startIndex, System.IntPtr destination, int length) { } @@ -14193,7 +14189,6 @@ namespace System.Runtime.InteropServices [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static void FreeHGlobal(System.IntPtr hglobal) { } public static System.IntPtr GetComInterfaceForObject(object o, System.Type T) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetComInterfaceForObject(object o, System.Type T, System.Runtime.InteropServices.CustomQueryInterfaceMode mode) { throw null; } public static System.IntPtr GetComInterfaceForObject<T, TInterface>(T o) { throw null; } public static System.Delegate GetDelegateForFunctionPointer(System.IntPtr ptr, System.Type t) { throw null; } @@ -14204,7 +14199,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr GetFunctionPointerForDelegate(System.Delegate d) { throw null; } public static System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) { throw null; } public static int GetHRForException(System.Exception e) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int GetHRForLastWin32Error() { throw null; } public static System.IntPtr GetIUnknownForObject(object o) { throw null; } @@ -14217,7 +14211,6 @@ namespace System.Runtime.InteropServices public static T GetObjectForNativeVariant<T>(System.IntPtr pSrcNativeVariant) { throw null; } public static object[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } public static T[] GetObjectsForNativeVariants<T>(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } - [System.MonoTODOAttribute] public static int GetStartComSlot(System.Type t) { throw null; } public static System.Type GetTypeFromCLSID(System.Guid clsid) { throw null; } public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) { throw null; } @@ -14245,26 +14238,22 @@ namespace System.Runtime.InteropServices public static int QueryInterface(System.IntPtr pUnk, ref System.Guid iid, out System.IntPtr ppv) { throw null; } public static byte ReadByte(System.IntPtr ptr) { throw null; } public static byte ReadByte(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static byte ReadByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } public static short ReadInt16(System.IntPtr ptr) { throw null; } public static short ReadInt16(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static short ReadInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static int ReadInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static long ReadInt64(System.IntPtr ptr) { throw null; } public static long ReadInt64(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static long ReadInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } @@ -14272,7 +14261,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr ReadIntPtr(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static System.IntPtr ReAllocCoTaskMem(System.IntPtr pv, int cb) { throw null; } @@ -14308,31 +14296,25 @@ namespace System.Runtime.InteropServices public static System.IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index) { throw null; } public static void WriteByte(System.IntPtr ptr, byte val) { } public static void WriteByte(System.IntPtr ptr, int ofs, byte val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, byte val) { throw null; } public static void WriteInt16(System.IntPtr ptr, char val) { } public static void WriteInt16(System.IntPtr ptr, short val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, char val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, short val) { } - [System.MonoTODOAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out]object ptr, int ofs, char val) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, short val) { throw null; } public static void WriteInt32(System.IntPtr ptr, int val) { } public static void WriteInt32(System.IntPtr ptr, int ofs, int val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, int val) { throw null; } public static void WriteInt64(System.IntPtr ptr, int ofs, long val) { } public static void WriteInt64(System.IntPtr ptr, long val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, long val) { throw null; } public static void WriteIntPtr(System.IntPtr ptr, int ofs, System.IntPtr val) { } public static void WriteIntPtr(System.IntPtr ptr, System.IntPtr val) { } - [System.MonoTODOAttribute] public static void WriteIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, System.IntPtr val) { throw null; } public static void ZeroFreeBSTR(System.IntPtr s) { } public static void ZeroFreeCoTaskMemAnsi(System.IntPtr s) { } diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index 998176a..4f60d4c 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -14951,13 +14951,9 @@ namespace System.Runtime.InteropServices public static System.IntPtr AllocHGlobal(int cb) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] public static System.IntPtr AllocHGlobal(System.IntPtr cb) { throw null; } - [System.MonoTODOAttribute] public static bool AreComObjectsAvailableForCleanup() { throw null; } - [System.MonoTODOAttribute] public static object BindToMoniker(string monikerName) { throw null; } - [System.MonoTODOAttribute] public static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) { } - [System.MonoTODOAttribute] public static void CleanupUnusedObjectsInCurrentContext() { } public static void Copy(byte[] source, int startIndex, System.IntPtr destination, int length) { } public static void Copy(char[] source, int startIndex, System.IntPtr destination, int length) { } @@ -14989,48 +14985,36 @@ namespace System.Runtime.InteropServices public static void FreeHGlobal(System.IntPtr hglobal) { } public static System.Guid GenerateGuidForType(System.Type type) { throw null; } public static string GenerateProgIdForType(System.Type type) { throw null; } - [System.MonoTODOAttribute] public static object GetActiveObject(string progID) { throw null; } public static System.IntPtr GetComInterfaceForObject(object o, System.Type T) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetComInterfaceForObject(object o, System.Type T, System.Runtime.InteropServices.CustomQueryInterfaceMode mode) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetComInterfaceForObjectInContext(object o, System.Type t) { throw null; } public static System.IntPtr GetComInterfaceForObject<T, TInterface>(T o) { throw null; } - [System.MonoNotSupportedAttribute("MSDN states user code should never need to call this method.")] public static object GetComObjectData(object obj, object key) { throw null; } public static int GetComSlotForMethodInfo(System.Reflection.MemberInfo m) { throw null; } public static System.Delegate GetDelegateForFunctionPointer(System.IntPtr ptr, System.Type t) { throw null; } public static TDelegate GetDelegateForFunctionPointer<TDelegate>(System.IntPtr ptr) { throw null; } - [System.MonoTODOAttribute] public static int GetEndComSlot(System.Type t) { throw null; } public static int GetExceptionCode() { throw null; } public static System.Exception GetExceptionForHR(int errorCode) { throw null; } public static System.Exception GetExceptionForHR(int errorCode, System.IntPtr errorInfo) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.InteropServices.ComVisibleAttribute(true)] public static System.IntPtr GetExceptionPointers() { throw null; } public static System.IntPtr GetFunctionPointerForDelegate(System.Delegate d) { throw null; } public static System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) { throw null; } public static System.IntPtr GetHINSTANCE(System.Reflection.Module m) { throw null; } public static int GetHRForException(System.Exception e) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int GetHRForLastWin32Error() { throw null; } public static System.IntPtr GetIDispatchForObject(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetIDispatchForObjectInContext(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetITypeInfoForType(System.Type t) { throw null; } public static System.IntPtr GetIUnknownForObject(object o) { throw null; } - [System.MonoTODOAttribute] public static System.IntPtr GetIUnknownForObjectInContext(object o) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int GetLastWin32Error() { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.IntPtr GetManagedThunkForUnmanagedMethodPtr(System.IntPtr pfnMethodToWrap, System.IntPtr pbSignature, int cbSignature) { throw null; } - [System.MonoTODOAttribute] public static System.Reflection.MemberInfo GetMethodInfoForComSlot(System.Type t, int slot, ref System.Runtime.InteropServices.ComMemberType memberType) { throw null; } public static void GetNativeVariantForObject(object obj, System.IntPtr pDstNativeVariant) { } public static void GetNativeVariantForObject<T>(T obj, System.IntPtr pDstNativeVariant) { } @@ -15039,46 +15023,31 @@ namespace System.Runtime.InteropServices public static T GetObjectForNativeVariant<T>(System.IntPtr pSrcNativeVariant) { throw null; } public static object[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } public static T[] GetObjectsForNativeVariants<T>(System.IntPtr aSrcNativeVariant, int cVars) { throw null; } - [System.MonoTODOAttribute] public static int GetStartComSlot(System.Type t) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.Threading.Thread GetThreadFromFiberCookie(int cookie) { throw null; } public static object GetTypedObjectForIUnknown(System.IntPtr pUnk, System.Type t) { throw null; } - [System.MonoTODOAttribute] public static System.Type GetTypeForITypeInfo(System.IntPtr piTypeInfo) { throw null; } public static System.Type GetTypeFromCLSID(System.Guid clsid) { throw null; } public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static string GetTypeInfoName(System.Runtime.InteropServices.UCOMITypeInfo pTI) { throw null; } - [System.MonoTODOAttribute] public static System.Guid GetTypeLibGuid(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static System.Guid GetTypeLibGuid(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static System.Guid GetTypeLibGuidForAssembly(System.Reflection.Assembly asm) { throw null; } - [System.MonoTODOAttribute] public static int GetTypeLibLcid(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static int GetTypeLibLcid(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static string GetTypeLibName(System.Runtime.InteropServices.ComTypes.ITypeLib typelib) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static string GetTypeLibName(System.Runtime.InteropServices.UCOMITypeLib pTLB) { throw null; } - [System.MonoTODOAttribute] public static void GetTypeLibVersionForAssembly(System.Reflection.Assembly inputAssembly, out int majorVersion, out int minorVersion) { throw null; } public static object GetUniqueObjectForIUnknown(System.IntPtr unknown) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute("This method has been deprecated")] public static System.IntPtr GetUnmanagedThunkForManagedMethodPtr(System.IntPtr pfnMethodToWrap, System.IntPtr pbSignature, int cbSignature) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static bool IsComObject(object o) { throw null; } - [System.MonoTODOAttribute] public static bool IsTypeVisibleFromCom(System.Type t) { throw null; } - [System.MonoTODOAttribute] public static int NumParamBytes(System.Reflection.MethodInfo m) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static System.IntPtr OffsetOf(System.Type t, string fieldName) { throw null; } public static System.IntPtr OffsetOf<T>(string fieldName) { throw null; } @@ -15102,26 +15071,22 @@ namespace System.Runtime.InteropServices public static int QueryInterface(System.IntPtr pUnk, ref System.Guid iid, out System.IntPtr ppv) { throw null; } public static byte ReadByte(System.IntPtr ptr) { throw null; } public static byte ReadByte(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static byte ReadByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } public static short ReadInt16(System.IntPtr ptr) { throw null; } public static short ReadInt16(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static short ReadInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int ReadInt32(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static int ReadInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static long ReadInt64(System.IntPtr ptr) { throw null; } public static long ReadInt64(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static long ReadInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } @@ -15129,7 +15094,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr ReadIntPtr(System.IntPtr ptr) { throw null; } [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr(System.IntPtr ptr, int ofs) { throw null; } - [System.MonoTODOAttribute] [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static System.IntPtr ReadIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static System.IntPtr ReAllocCoTaskMem(System.IntPtr pv, int cb) { throw null; } @@ -15137,7 +15101,6 @@ namespace System.Runtime.InteropServices [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)] public static int Release(System.IntPtr pUnk) { throw null; } public static int ReleaseComObject(object o) { throw null; } - [System.MonoTODOAttribute] [System.ObsoleteAttribute] public static void ReleaseThreadCache() { } public static System.IntPtr SecureStringToBSTR(System.Security.SecureString s) { throw null; } @@ -15145,7 +15108,6 @@ namespace System.Runtime.InteropServices public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; } public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; } public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; } - [System.MonoNotSupportedAttribute("MSDN states user code should never need to call this method.")] public static bool SetComObjectData(object obj, object key, object data) { throw null; } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public static int SizeOf(object structure) { throw null; } @@ -15170,31 +15132,25 @@ namespace System.Runtime.InteropServices public static System.IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index) { throw null; } public static void WriteByte(System.IntPtr ptr, byte val) { } public static void WriteByte(System.IntPtr ptr, int ofs, byte val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteByte([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, byte val) { throw null; } public static void WriteInt16(System.IntPtr ptr, char val) { } public static void WriteInt16(System.IntPtr ptr, short val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, char val) { } public static void WriteInt16(System.IntPtr ptr, int ofs, short val) { } - [System.MonoTODOAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out]object ptr, int ofs, char val) { throw null; } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt16([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, short val) { throw null; } public static void WriteInt32(System.IntPtr ptr, int val) { } public static void WriteInt32(System.IntPtr ptr, int ofs, int val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt32([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, int val) { throw null; } public static void WriteInt64(System.IntPtr ptr, int ofs, long val) { } public static void WriteInt64(System.IntPtr ptr, long val) { } - [System.MonoTODOAttribute] [System.Security.SuppressUnmanagedCodeSecurityAttribute] public static void WriteInt64([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, long val) { throw null; } public static void WriteIntPtr(System.IntPtr ptr, int ofs, System.IntPtr val) { } public static void WriteIntPtr(System.IntPtr ptr, System.IntPtr val) { } - [System.MonoTODOAttribute] public static void WriteIntPtr([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out][System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.AsAny)]object ptr, int ofs, System.IntPtr val) { throw null; } public static void ZeroFreeBSTR(System.IntPtr s) { } public static void ZeroFreeCoTaskMemAnsi(System.IntPtr s) { } |