Add special Comparer/EqualityComparer for Nullable<Enum> (#68077)
authorEgor Bogatov <egorbo@gmail.com>
Tue, 31 May 2022 23:22:59 +0000 (02:22 +0300)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 23:22:59 +0000 (02:22 +0300)
commit8a043bf7adb0fbf5e60a8dd557c98686bc0a8377
tree1ce7121e4161238e473def76fc3e904bafa40ac4
parentae97f4e2c3b9e6e7aac40721ff8999a6982c388b
Add special Comparer/EqualityComparer for Nullable<Enum> (#68077)
14 files changed:
src/coreclr/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs
src/coreclr/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/EqualityComparerHelpers.cs
src/coreclr/tools/Common/TypeSystem/IL/Stubs/ComparerIntrinsics.cs
src/coreclr/vm/jitinterface.cpp
src/libraries/System.Collections/tests/Generic/Comparers/EqualityComparer.Tests.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/Comparer.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.cs
src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs
src/mono/System.Private.CoreLib/src/System/Collections/Generic/Comparer.Mono.cs
src/mono/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.Mono.cs
src/mono/mono/mini/method-to-ir.c
src/tests/JIT/opt/Devirtualization/Comparer_get_Default.cs