From c7cae6d5246d3aaf3f7ea6d100ee792ff796a0ce Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Sun, 24 Jun 2018 08:22:35 -0400 Subject: Simply type names in Corelib (dotnet-maestro-bot/coreclr#18623) Signed-off-by: dotnet-bot --- .../shared/System/Collections/DictionaryEntry.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs') diff --git a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs index 3c1c0befa..187301a08 100644 --- a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs +++ b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs @@ -12,18 +12,18 @@ namespace System.Collections [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public struct DictionaryEntry { - private Object _key; // Do not rename (binary serialization) - private Object _value; // Do not rename (binary serialization) + private object _key; // Do not rename (binary serialization) + private object _value; // Do not rename (binary serialization) // Constructs a new DictionaryEnumerator by setting the Key // and Value fields appropriately. - public DictionaryEntry(Object key, Object value) + public DictionaryEntry(object key, object value) { _key = key; _value = value; } - public Object Key + public object Key { get { @@ -36,7 +36,7 @@ namespace System.Collections } } - public Object Value + public object Value { get { -- cgit v1.2.3 From d7e9cc3e11ce0c12434bdbd229696caa1916eb69 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Fri, 24 Aug 2018 12:30:27 -0700 Subject: Remove not necessary type forwarded from attributes when type comes from mscorlib in netfx Signed-off-by: dotnet-bot --- src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs') diff --git a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs index 187301a08..79d5a77ca 100644 --- a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs +++ b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs @@ -9,7 +9,6 @@ namespace System.Collections // A DictionaryEntry holds a key and a value from a dictionary. // It is returned by IDictionaryEnumerator::GetEntry(). [Serializable] - [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public struct DictionaryEntry { private object _key; // Do not rename (binary serialization) -- cgit v1.2.3 From d82d460a8530a57e4915060be37fb42c7a661f48 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Fri, 31 Aug 2018 11:16:19 -0700 Subject: Revert "Remove not necessary type forwarded from attributes when type comes from mscorlib in netfx" (#19784) This reverts commit 4fb001d431e0f44df15709f02f776e565fec14c7. Signed-off-by: dotnet-bot --- src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs') diff --git a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs index 79d5a77ca..187301a08 100644 --- a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs +++ b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs @@ -9,6 +9,7 @@ namespace System.Collections // A DictionaryEntry holds a key and a value from a dictionary. // It is returned by IDictionaryEnumerator::GetEntry(). [Serializable] + [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public struct DictionaryEntry { private object _key; // Do not rename (binary serialization) -- cgit v1.2.3