mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Enable nullable: System.Management.Automation.IDispatch (#14185)
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
using COM = System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
#nullable enable
|
||||
namespace System.Management.Automation
|
||||
{
|
||||
/// <summary>
|
||||
@@ -19,7 +20,7 @@ namespace System.Management.Automation
|
||||
int GetTypeInfoCount(out int info);
|
||||
|
||||
[PreserveSig]
|
||||
int GetTypeInfo(int iTInfo, int lcid, out COM.ITypeInfo ppTInfo);
|
||||
int GetTypeInfo(int iTInfo, int lcid, out COM.ITypeInfo? ppTInfo);
|
||||
|
||||
void GetIDsOfNames(
|
||||
[MarshalAs(UnmanagedType.LPStruct)] Guid iid,
|
||||
@@ -34,7 +35,7 @@ namespace System.Management.Automation
|
||||
int lcid,
|
||||
COM.INVOKEKIND wFlags,
|
||||
[In, Out][MarshalAs(UnmanagedType.LPArray)] COM.DISPPARAMS[] paramArray,
|
||||
out object pVarResult,
|
||||
out object? pVarResult,
|
||||
out ComInvoker.EXCEPINFO pExcepInfo,
|
||||
out uint puArgErr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user