diff --git a/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/ComInterfaces.cs b/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/ComInterfaces.cs index 1cf2749928..a62e51c29f 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/ComInterfaces.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/WindowsTaskbarJumpList/ComInterfaces.cs @@ -106,7 +106,7 @@ namespace Microsoft.PowerShell /// /// /// - [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [PreserveSig] HResult GetCount([Out] out uint propertyCount); /// @@ -115,7 +115,7 @@ namespace Microsoft.PowerShell /// /// /// - [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [PreserveSig] HResult GetAt([In] uint propertyIndex, out PropertyKey key); /// @@ -124,7 +124,7 @@ namespace Microsoft.PowerShell /// /// /// - [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [PreserveSig] HResult GetValue([In] ref PropertyKey key, [Out] PropVariant pv); /// @@ -133,7 +133,7 @@ namespace Microsoft.PowerShell /// /// /// - [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig] + [PreserveSig] HResult SetValue([In] ref PropertyKey key, [In] PropVariant pv); /// @@ -141,7 +141,6 @@ namespace Microsoft.PowerShell /// /// [PreserveSig] - [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] HResult Commit(); } @@ -199,9 +198,8 @@ namespace Microsoft.PowerShell internal interface IObjectCollection { // IObjectArray - [PreserveSig] void GetCount(out uint cObjects); - [PreserveSig] + void GetAt( uint iIndex, ref Guid riid,