Skip to content

Commit ed83844

Browse files
authored
Fix message for ArgumentException (#228)
***NO_CI***
1 parent f47b4d3 commit ed83844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nanoFramework.CoreLibrary/System/ArgumentException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
#nullable enable
@@ -15,7 +15,7 @@ public class ArgumentException : SystemException
1515
{
1616
// ReSharper disable InconsistentNaming
1717
private static readonly string Arg_ArgumentException = "Value does not fall within the expected range.";
18-
private static readonly string Arg_ParamName_Name = "(Parameter '%s')";
18+
private static readonly string Arg_ParamName_Name = "(Parameter '{0}')";
1919
private static readonly string Argument_EmptyString = "The value cannot be an empty string.";
2020
// ReSharper restore InconsistentNaming
2121

0 commit comments

Comments
 (0)