From cb9516da9df966079e5a34490139eec68c38dafa Mon Sep 17 00:00:00 2001 From: "jiseob.jang" Date: Wed, 6 Sep 2017 20:40:24 +0900 Subject: Imported Upstream version 2.0.0.12082 --- src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs') diff --git a/src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs b/src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs index fc51af25f8..aeafecd958 100644 --- a/src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs +++ b/src/mscorlib/shared/System/Collections/Generic/KeyValuePair.cs @@ -46,10 +46,11 @@ namespace System.Collections.Generic // It is used by the IEnumerable implementation for both IDictionary // and IReadOnlyDictionary. [Serializable] + [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public struct KeyValuePair { - private TKey key; // DO NOT change the field name, it's required for compatibility with desktop .NET as it appears in serialization payload. - private TValue value; // DO NOT change the field name, it's required for compatibility with desktop .NET as it appears in serialization payload. + private TKey key; // Do not rename (binary serialization) + private TValue value; // Do not rename (binary serialization) public KeyValuePair(TKey key, TValue value) { -- cgit v1.2.3