From bde9312c4c8de548d014bb6050d22104d309a79e Mon Sep 17 00:00:00 2001 From: monojenkins Date: Tue, 10 Sep 2019 07:18:07 +0000 Subject: Apply changes from https://github.com/mono/mono/pull/16324 to API snapshot --- profiles/net_4_x/mscorlib.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index 3d6057e..34413f2 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -5012,8 +5012,11 @@ namespace System int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } + [System.Runtime.InteropServices.ClassInterfaceAttribute(System.Runtime.InteropServices.ClassInterfaceType.None)] + [System.Runtime.InteropServices.ComDefaultInterfaceAttribute(typeof(System.Runtime.InteropServices._Type))] + [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] - public abstract partial class Type : System.Reflection.MemberInfo, System.Reflection.IReflect + public abstract partial class Type : System.Reflection.MemberInfo, System.Reflection.IReflect, System.Runtime.InteropServices._Type { public static readonly char Delimiter; public static readonly System.Type[] EmptyTypes; @@ -5209,6 +5212,10 @@ namespace System public static bool operator ==(System.Type left, System.Type right) { throw null; } public static bool operator !=(System.Type left, System.Type right) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public static System.Type ReflectionOnlyGetType(string typeName, bool throwIfNotFound, bool ignoreCase) { throw null; } + void System.Runtime.InteropServices._Type.GetIDsOfNames([System.Runtime.InteropServices.In]ref System.Guid riid, System.IntPtr rgszNames, uint cNames, uint lcid, System.IntPtr rgDispId) { } + void System.Runtime.InteropServices._Type.GetTypeInfo(uint iTInfo, uint lcid, System.IntPtr ppTInfo) { } + void System.Runtime.InteropServices._Type.GetTypeInfoCount(out uint pcTInfo) { throw null; } + void System.Runtime.InteropServices._Type.Invoke(uint dispIdMember, [System.Runtime.InteropServices.In]ref System.Guid riid, uint lcid, short wFlags, System.IntPtr pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, System.IntPtr puArgErr) { } public override string ToString() { throw null; } } [System.SerializableAttribute] @@ -11484,8 +11491,11 @@ namespace System.Reflection Synchronized = 32, Unmanaged = 4, } + [System.Runtime.InteropServices.ClassInterfaceAttribute(System.Runtime.InteropServices.ClassInterfaceType.None)] + [System.Runtime.InteropServices.ComDefaultInterfaceAttribute(typeof(System.Runtime.InteropServices._MethodInfo))] + [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] - public abstract partial class MethodInfo : System.Reflection.MethodBase + public abstract partial class MethodInfo : System.Reflection.MethodBase, System.Runtime.InteropServices._MethodInfo { protected MethodInfo() { } public override System.Reflection.MemberTypes MemberType { get { throw null; } } @@ -11502,6 +11512,10 @@ namespace System.Reflection public virtual System.Reflection.MethodInfo MakeGenericMethod(params System.Type[] typeArguments) { throw null; } public static bool operator ==(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) { throw null; } public static bool operator !=(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) { throw null; } + void System.Runtime.InteropServices._MethodInfo.GetIDsOfNames([System.Runtime.InteropServices.In]ref System.Guid riid, System.IntPtr rgszNames, uint cNames, uint lcid, System.IntPtr rgDispId) { } + void System.Runtime.InteropServices._MethodInfo.GetTypeInfo(uint iTInfo, uint lcid, System.IntPtr ppTInfo) { } + void System.Runtime.InteropServices._MethodInfo.GetTypeInfoCount(out uint pcTInfo) { throw null; } + void System.Runtime.InteropServices._MethodInfo.Invoke(uint dispIdMember, [System.Runtime.InteropServices.In]ref System.Guid riid, uint lcid, short wFlags, System.IntPtr pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, System.IntPtr puArgErr) { } } public static partial class MethodInfoExtensions { -- cgit v1.2.3