From 07e7e500ff2d2c87ae6e79bb01f6e772a0292e79 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 20 Jun 2018 20:38:07 -0700 Subject: [PATCH] Undo accidental 2.0 -> 2.1 renames (dotnet/corertdotnet/coreclr#5981) Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/3e87306d8e8b909aaa26582fa11cb30e52e9431e --- .../System/Collections/Generic/NonRandomizedStringEqualityComparer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs index b9abb35..e7efa22 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs @@ -10,7 +10,7 @@ namespace System.Collections.Generic // We use NonRandomizedStringEqualityComparer as default comparer as it doesnt use the randomized string hashing which // keeps the performance not affected till we hit collision threshold and then we switch to the comparer which is using // randomized string hashing. - [Serializable] // Required for compatibility with .NET Core 2.1 as we exposed the NonRandomizedStringEqualityComparer inside the serialization blob + [Serializable] // Required for compatibility with .NET Core 2.0 as we exposed the NonRandomizedStringEqualityComparer inside the serialization blob // Needs to be public to support binary serialization compatibility public sealed class NonRandomizedStringEqualityComparer : EqualityComparer, ISerializable { -- 2.7.4