[Mono] Handle resurrection for marshalled delegates #99478
Open
Description
See disabled GetDelegateForFunctionPointer_Resurrection
test added in #99185
Fails with:
Unhandled Exception:
Xunit.Sdk.SameException: Assert.Same() Failure: Values are not the same instance
Expected: Action { Method = Void wrapper_native_0xffffa4edbc18(), Target = null }
Actual: Action { Method = Void SomeFunction(), Target = FreachableObject { } }
at Xunit.Assert.Same(Object expected, Object actual) in /_/src/Microsoft.DotNet.XUnitAssert/src/IdentityAsserts.cs:line 55
at System.Runtime.InteropServices.Tests.GetDelegateForFunctionPointerTests.FreachableObject.Finalize()
Metadata
Assignees
Type
Projects
Status
No status