File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/System.Management.Automation/engine/COM Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Corporation.
2
2
// Licensed under the MIT License.
3
3
4
+ using System . Diagnostics . CodeAnalysis ;
4
5
using System . Runtime . InteropServices ;
5
6
6
7
using COM = System . Runtime . InteropServices . ComTypes ;
7
8
9
+ #nullable enable
10
+
8
11
namespace System . Management . Automation
9
12
{
10
13
/// <summary>
@@ -19,7 +22,7 @@ internal interface IDispatch
19
22
int GetTypeInfoCount ( out int info ) ;
20
23
21
24
[ PreserveSig ]
22
- int GetTypeInfo ( int iTInfo , int lcid , out COM . ITypeInfo ppTInfo ) ;
25
+ int GetTypeInfo ( int iTInfo , int lcid , out COM . ITypeInfo ? ppTInfo ) ;
23
26
24
27
void GetIDsOfNames (
25
28
[ MarshalAs ( UnmanagedType . LPStruct ) ] Guid iid ,
@@ -34,7 +37,7 @@ void Invoke(
34
37
int lcid ,
35
38
COM . INVOKEKIND wFlags ,
36
39
[ In , Out ] [ MarshalAs ( UnmanagedType . LPArray ) ] COM . DISPPARAMS [ ] paramArray ,
37
- out object pVarResult ,
40
+ out object ? pVarResult ,
38
41
out ComInvoker . EXCEPINFO pExcepInfo ,
39
42
out uint puArgErr ) ;
40
43
}
You can’t perform that action at this time.
0 commit comments