-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create custom comprarer to handle containers byte arrays.
In C# byte array comparisons are by reference. This will likely cause unexpected behavior to end-users. To make things do what we mean, we provide a structural comprarer that works on the contents as opposed to the array reference. We also provide a `DictionaryEquals` extension that parallels the C# library's `SetEquals` method. We have to do this because, even if we provide a structural comparer as described above, this only operates on the keys, not the values.
- Loading branch information
Showing
3 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters