From c335cd2869c50f468738e2e203bd6453e292548e Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 22 May 2024 15:01:52 -0400 Subject: [PATCH] Make StringEventArgs internally consistent --- CHANGELIST.md | 1 + MPF.Core/Data/StringEventArgs.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index a69d0770..63e8005c 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -50,6 +50,7 @@ - Rename Result to ResultEventArgs for consistency - Reduce accessors for DumpEnvironment - Better handle interface constants +- Make StringEventArgs internally consistent ### 3.1.9a (2024-05-21) diff --git a/MPF.Core/Data/StringEventArgs.cs b/MPF.Core/Data/StringEventArgs.cs index 79ae6231..95b486f8 100644 --- a/MPF.Core/Data/StringEventArgs.cs +++ b/MPF.Core/Data/StringEventArgs.cs @@ -37,7 +37,7 @@ namespace MPF.Core.Data /// /// Event arguments are just the value of the string contained within /// - public static implicit operator StringBuilder(StringEventArgs args) => new StringBuilder(args._value); + public static implicit operator StringBuilder(StringEventArgs args) => new(args._value); /// /// Event arguments are just the value of the string contained within