Author: | roji |
---|---|
Assignees: | - |
Labels: | `area-System.Runtime`, `untriaged` |
Milestone: | - |
Open roji opened 2 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @dotnet/area-system-runtime See info in area-owners.md if you want to be subscribed.
Author: | roji |
---|---|
Assignees: | - |
Labels: | `area-System.Runtime`, `untriaged` |
Milestone: | - |
This impacts CC. @dotnet/area-system-collections since it flows through StructuralEqualityComparer
CC. @jkotas, @stephentoub on if there are any known limitations that might prevent this from being handled.
Description
Array implements IStructuralEquatable, but its Equals implementation throws if a multi-dimensional array is passed.
Reproduction Steps
Expected behavior
The method is expected to return true or false.
Actual behavior
Exception:
Regression?
No response
Known Workarounds
One can avoid using IStructuralEquatable or StructuralComparisons.StructuralEqualityComparer specifically for multidimensional arrays.
Configuration
.NET 6, Ubuntu impish, x64.
Other information
No response