From f58ba2941c2dd931f4e6c9c6bd7e2de291a47f11 Mon Sep 17 00:00:00 2001 From: Tig Date: Sun, 30 Jun 2024 06:23:05 -0700 Subject: [PATCH] Addressed PR feedback --- Terminal.Gui/View/IDesignable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/View/IDesignable.cs b/Terminal.Gui/View/IDesignable.cs index 67adc566e..febaaf45e 100644 --- a/Terminal.Gui/View/IDesignable.cs +++ b/Terminal.Gui/View/IDesignable.cs @@ -12,7 +12,7 @@ public interface IDesignable /// Optional arbitrary, View-specific, context. /// A non-null type for . /// if the view successfully loaded demo data. - public bool EnableForDesign (in TContext context) where TContext : notnull => EnableForDesign (); + public bool EnableForDesign (ref readonly TContext context) where TContext : notnull => EnableForDesign (); /// /// Causes the View to enable design-time mode. This typically means that the view will load demo data and