From 31a729b6293ede407b9a8ad8085f12d718b5be68 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 18 Jul 2026 16:40:58 +1000 Subject: [PATCH 1/2] ICorDebugProcess5 - add missing MIDL attributes --- src/coreclr/inc/cordebug.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/inc/cordebug.idl b/src/coreclr/inc/cordebug.idl index 5dfcb037abc5a1..3fe8e4933d5115 100644 --- a/src/coreclr/inc/cordebug.idl +++ b/src/coreclr/inc/cordebug.idl @@ -3024,7 +3024,7 @@ interface ICorDebugProcess5 : IUnknown HRESULT GetArrayLayout([in] COR_TYPEID id, [out] COR_ARRAY_LAYOUT *pLayout); HRESULT GetTypeLayout([in] COR_TYPEID id, [out] COR_TYPE_LAYOUT *pLayout); - HRESULT GetTypeFields([in] COR_TYPEID id, ULONG32 celt, COR_FIELD fields[], ULONG32 *pceltNeeded); + HRESULT GetTypeFields([in] COR_TYPEID id, [in] ULONG32 celt, [out, size_is(celt), length_is(*pceltFetched)] COR_FIELD fields[], [out] ULONG32 *pceltNeeded); /* * Enables the specified policy. From 90412d07cdcc39f4518ab88bc8d9203aafebddbe Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sat, 18 Jul 2026 17:11:53 +1000 Subject: [PATCH 2/2] Update cordebug.idl --- src/coreclr/inc/cordebug.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/inc/cordebug.idl b/src/coreclr/inc/cordebug.idl index 3fe8e4933d5115..dfde9ed663eaad 100644 --- a/src/coreclr/inc/cordebug.idl +++ b/src/coreclr/inc/cordebug.idl @@ -3024,7 +3024,7 @@ interface ICorDebugProcess5 : IUnknown HRESULT GetArrayLayout([in] COR_TYPEID id, [out] COR_ARRAY_LAYOUT *pLayout); HRESULT GetTypeLayout([in] COR_TYPEID id, [out] COR_TYPE_LAYOUT *pLayout); - HRESULT GetTypeFields([in] COR_TYPEID id, [in] ULONG32 celt, [out, size_is(celt), length_is(*pceltFetched)] COR_FIELD fields[], [out] ULONG32 *pceltNeeded); + HRESULT GetTypeFields([in] COR_TYPEID id, [in] ULONG32 celt, [out, size_is(celt), length_is(*pceltNeeded)] COR_FIELD fields[], [out] ULONG32 *pceltNeeded); /* * Enables the specified policy.