diff options
Diffstat (limited to 'src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs')
-rw-r--r-- | src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs b/src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs index 0d98ced079d..83d9f675b42 100644 --- a/src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs +++ b/src/coreclr/tools/Common/CommandLine/ArgumentSyntax_Definers.cs @@ -10,7 +10,7 @@ namespace Internal.CommandLine public partial class ArgumentSyntax { private static readonly Func<string, string> s_stringParser = v => v; - private static readonly Func<string, bool> s_booleanParser = v => bool.Parse(v); + private static readonly Func<string, bool> s_booleanParser = bool.Parse; private static readonly Func<string, int> s_int32Parser = v => int.Parse(v, CultureInfo.InvariantCulture); // Commands |