From: Adeel Mujahid Date: Thu, 21 Jun 2018 00:06:28 +0000 (+0300) Subject: Rev netcoreapp2.0 to netcoreapp2.1 (dotnet/corertdotnet/coreclr#5974) X-Git-Tag: submit/tizen/20210909.063632~11030^2~4550 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12545734ed8459b7a7cc43ec92f3ed802db0ff74;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Rev netcoreapp2.0 to netcoreapp2.1 (dotnet/corertdotnet/coreclr#5974) Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/addb9956f1786bb8b6bcb0daf509a5d9c9b98347 --- 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 e7efa22..b9abb35 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.0 as we exposed the NonRandomizedStringEqualityComparer inside the serialization blob + [Serializable] // Required for compatibility with .NET Core 2.1 as we exposed the NonRandomizedStringEqualityComparer inside the serialization blob // Needs to be public to support binary serialization compatibility public sealed class NonRandomizedStringEqualityComparer : EqualityComparer, ISerializable {