Fix typo in ComRuntimeHelpers.cs (#17104)

This commit is contained in:
Ikko Ashimine
2022-04-12 16:45:18 -07:00
committed by GitHub
parent 9c13c0494f
commit 2bc1308772
@@ -381,7 +381,7 @@ namespace System.Management.Automation.ComInterop
&& (flags & ComTypes.INVOKEKIND.INVOKE_FUNC) != 0
&& (flags & (ComTypes.INVOKEKIND.INVOKE_PROPERTYPUT | ComTypes.INVOKEKIND.INVOKE_PROPERTYPUTREF)) == 0)
{
// Re-invoke with no result argument to accomodate Word
// Re-invoke with no result argument to accommodate Word
hresult = pfnIDispatchInvoke(dispatchPointer,
memberDispId, &IID_NULL, 0, (ushort)ComTypes.INVOKEKIND.INVOKE_FUNC, pDispParams, null, pExcepInfo, pArgErr);
}