From 00838f3253a0f2dea49d12b535dcb2f14991c61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Zgodzi=C5=84ski?= Date: Mon, 28 Aug 2023 23:32:10 +0100 Subject: [PATCH] Add DebuggerDisplay to ListDictionaryInternal (#91224) --- .../src/System/Collections/ListDictionaryInternal.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Private.CoreLib/src/System/Collections/ListDictionaryInternal.cs b/src/libraries/System.Private.CoreLib/src/System/Collections/ListDictionaryInternal.cs index e846bd4eaaafa..c9975143ca361 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Collections/ListDictionaryInternal.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Collections/ListDictionaryInternal.cs @@ -1,5 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collections @@ -8,6 +9,7 @@ namespace System.Collections /// Implements using a singly linked list. /// Recommended for collections that typically include fewer than 10 items. /// + [DebuggerDisplay("Count = {count}")] [Serializable] [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] // Needs to be public to support binary serialization compatibility