dotnet/runtime

[Mono] Add support for UnsafeAccessor mismatched generic constraint checking

Open

#102,942 opened on May 31, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-VM-meta-monodisabled-testhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

Check for mismatched generic constraints (disabled tests: UnsafeAccessorsTestsGenerics.Verify_Generic_ConstraintEnforcement) https://github.com/dotnet/runtime/blob/main/src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.Generics.cs#L410

Contributor guide