Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono] Handle resurrection for marshalled delegates #99478

Open
jkotas opened this issue Mar 9, 2024 · 0 comments
Open

[Mono] Handle resurrection for marshalled delegates #99478

jkotas opened this issue Mar 9, 2024 · 0 comments
Labels
area-Interop-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Mar 9, 2024

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()
@jkotas jkotas added disabled-test The test is disabled in source code against the issue area-Interop-mono labels Mar 9, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 9, 2024
@lambdageek lambdageek removed the untriaged New issue has not been triaged by the area owner label Jul 1, 2024
@lambdageek lambdageek added this to the 9.0.0 milestone Jul 1, 2024
@agocke agocke modified the milestones: 9.0.0, Future Aug 19, 2024
@agocke agocke added this to AppModel Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Interop-mono disabled-test The test is disabled in source code against the issue
Projects
Status: No status
Development

No branches or pull requests

3 participants