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