NativeAOT ComWrappers: extend managed object lifetime based on refcount (#85087)
authorAustin Wise <AustinWise@gmail.com>
Fri, 21 Apr 2023 18:13:35 +0000 (11:13 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2023 18:13:35 +0000 (11:13 -0700)
commitb1497d3b33b3d44a5a1a6f9ca6c0b29addc6fe06
tree32d73a2b6bdd725be59ef4173efc564a42fb44b9
parent556bb3990ef434c20533dcb00480eb76d109ff27
NativeAOT ComWrappers: extend managed object lifetime based on refcount (#85087)

Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
Co-authored-by: Andrii Kurdiumov <kant2002@gmail.com>
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/InteropServices/ComWrappers.NativeAot.cs
src/tests/Interop/COM/ComWrappers/API/Program.cs