Implement IEquatable to Memory and ReadOnlyMemory (dotnet/corefx#36497)
authorGanbarukamo41 <ganbarukamo@gmail.com>
Sun, 14 Apr 2019 23:34:34 +0000 (00:34 +0100)
committerAhson Khan <ahkha@microsoft.com>
Sun, 14 Apr 2019 23:34:34 +0000 (16:34 -0700)
commitf8040bac33b9ef957c93c36ffdc643195f1d6996
treeeb05f0c86b3cd56184f1aa5d4a3ba2ec6df1b5e2
parentc862c354f0bdd9967cbe510452b37da4af2b72ef
Implement IEquatable to Memory and ReadOnlyMemory (dotnet/corefx#36497)

* Implement IEquatable to Memory and ReadOnlyMemory

* Add equality tests using IEquatable of ReadOnlyMemory and Memory

* Fix and add tests for Memory and ReadOnlyMemory
* Fixed where IEquatable interface tests were using object.Equals(object) instead of T.Equals(T)
* Added IEquatable interface tests for Memory of different types (char, string)

* Fix IEquatable tests for Memory and ReadOnlyMemory
* Fix tests that were missed in the previous commit (IEquatable tests calling object.Equals(object))
* Should use ReadOnlyMemory in ReadOnlyMemory tests

* Update uapaot baseline for dotnet/corefx#36497

Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)

* Update uapaot baseline for dotnet/corefx#36497

Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)
* Remove baselines added to System.Runtime by mistake
* Add baselines to System.Memory

* Update uapaot baseline for dotnet/corefx#36497
Implementing IEquatable to Memory and ReadOnlyMemory (see dotnet/corefx#32905)
* Add removed baselines to System.Runtime again

Commit migrated from https://github.com/dotnet/corefx/commit/68920bb0764fb13257f710f44dd08e85e4a35c7c
src/libraries/System.Memory/src/ApiCompatBaseline.uapaot.txt [new file with mode: 0644]
src/libraries/System.Memory/tests/Memory/Equality.cs
src/libraries/System.Memory/tests/ReadOnlyMemory/Equality.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/src/ApiCompatBaseline.uapaot.txt