You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MethodAccessException on equality comparison of a type private to module #17541
@iminashi - Thank you for raising this issue, it forced me to properly think about the codegen that needs to happen for Equality(typed, IComparable) which is wierdly enough different from all of the other Augmented Equals and Compare methods.
Activity
vzarytovskii commentedon Aug 15, 2024
Duplicate of #17447, likely
iminashi commentedon Aug 15, 2024
I ran into this when testing if #17447 was fixed in 9.0.100 (it is).
iminashi commentedon Aug 15, 2024
The example above works in 8.0.400, but fails in 9.0.100.
The example in #17447 fails in 8.0.400, but works in 9.0.100.
T-Gro commentedon Aug 15, 2024
Still repro's in main -> issue has to be fixed.
KevinRansom commentedon Aug 15, 2024
@iminashi - Thank you for raising this issue, it forced me to properly think about the codegen that needs to happen for Equality(typed, IComparable) which is wierdly enough different from all of the other Augmented Equals and Compare methods.
fixes dotnet#17541 - Equals visibility for DU's (dotnet#17548)
Merge release/dev17.12 to main (#17842)