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