From: Santiago Fernandez Madero Date: Fri, 24 May 2019 16:20:48 +0000 (-0700) Subject: Re-generate System.Runtime.InteropServices ref source against implementation (dotnet... X-Git-Tag: submit/tizen/20210909.063632~11031^2~1499 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87ba6ad3fe4fb4fcc0cc19c883812deccd43920d;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Re-generate System.Runtime.InteropServices ref source against implementation (dotnet/corefx#37914) * Re-generate System.Runtime.InteropServices ref source against implementation * PR Feedback Commit migrated from https://github.com/dotnet/corefx/commit/564ced2a4cfcb02c1efc1e0da83c54f2b9073ea4 --- diff --git a/eng/DefaultGenApiDocIds.txt b/eng/DefaultGenApiDocIds.txt index 2baff23..c0649f4 100644 --- a/eng/DefaultGenApiDocIds.txt +++ b/eng/DefaultGenApiDocIds.txt @@ -29,6 +29,7 @@ T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute T:System.Runtime.InteropServices.ComVisibleAttribute T:System.Runtime.InteropServices.GuidAttribute T:System.Runtime.InteropServices.InterfaceTypeAttribute +T:System.Runtime.InteropServices.LCIDConversionAttribute T:System.Runtime.InteropServices.StructLayoutAttribute T:System.Security.Permissions.EnvironmentPermissionAttribute T:System.Security.Permissions.FileIOPermissionAttribute diff --git a/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs b/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs index d06b89b..3fed247 100644 --- a/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs +++ b/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs @@ -136,6 +136,7 @@ namespace System.Runtime.InteropServices public partial struct ArrayWithOffset { private object _dummy; + private int _dummyPrimitive; public ArrayWithOffset(object array, int offset) { throw null; } public override bool Equals(object obj) { throw null; } public bool Equals(System.Runtime.InteropServices.ArrayWithOffset obj) { throw null; } @@ -210,12 +211,16 @@ namespace System.Runtime.InteropServices public ComAwareEventInfo(System.Type type, string eventName) { } public override System.Reflection.EventAttributes Attributes { get { throw null; } } public override System.Type DeclaringType { get { throw null; } } + public override int MetadataToken { get { throw null; } } + public override System.Reflection.Module Module { get { throw null; } } public override string Name { get { throw null; } } public override System.Type ReflectedType { get { throw null; } } public override void AddEventHandler(object target, System.Delegate handler) { } public override System.Reflection.MethodInfo GetAddMethod(bool nonPublic) { throw null; } public override object[] GetCustomAttributes(bool inherit) { throw null; } public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } + public override System.Collections.Generic.IList GetCustomAttributesData() { throw null; } + public override System.Reflection.MethodInfo[] GetOtherMethods(bool nonPublic) { throw null; } public override System.Reflection.MethodInfo GetRaiseMethod(bool nonPublic) { throw null; } public override System.Reflection.MethodInfo GetRemoveMethod(bool nonPublic) { throw null; } public override bool IsDefined(System.Type attributeType, bool inherit) { throw null; }