Rewrite Enum.CompareTo in C# (dotnet/coreclr#27792)
authorJan Kotas <jkotas@microsoft.com>
Sun, 10 Nov 2019 00:18:00 +0000 (01:18 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2019 00:18:00 +0000 (01:18 +0100)
commit8f794d77637ef3bd2eef179c72fd9c32c2a5e348
treee20b22aa572e56a74885e3586884afdc2e143774
parentb67ab011f2019a93ed8350a8a06999bfcdf5507d
Rewrite Enum.CompareTo in C# (dotnet/coreclr#27792)

* Rewrite Enum.CompareTo in C#

* Handle floating point too for match the existing native implementation

Commit migrated from https://github.com/dotnet/coreclr/commit/b6488e511db32bb36614becb1a938d4a162f951d
src/coreclr/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/reflectioninvocation.cpp
src/coreclr/src/vm/reflectioninvocation.h
src/libraries/System.Private.CoreLib/src/System/Enum.cs