From 9db08b10f427f1551d02711731568955a9ff15e5 Mon Sep 17 00:00:00 2001 From: Martin Tomka Date: Tue, 29 Aug 2023 12:39:33 +0200 Subject: [PATCH] Improve debugging experience for `ResilienceProperties` --- src/Polly.Core/ResilienceProperties.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Polly.Core/ResilienceProperties.cs b/src/Polly.Core/ResilienceProperties.cs index bb9fdbec3f0..2a593960d66 100644 --- a/src/Polly.Core/ResilienceProperties.cs +++ b/src/Polly.Core/ResilienceProperties.cs @@ -2,13 +2,13 @@ namespace Polly; -#pragma warning disable CA1710 // Identifiers should have correct suffix - /// /// Represents a collection of custom resilience properties. /// +[DebuggerDisplay("{Options}")] public sealed class ResilienceProperties { + [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] internal IDictionary Options { get; set; } = new Dictionary(); ///