Permalink
Browse files

Replace string interpolation by Format

String interpolation prevent MSBuild to compile

Change-Id: I91efe5057c3d00f0bbc525496d74c0b248887226
1 parent fc1c06f commit bba6c36ad6b57e942f5515e67fa741b11358d2b2 @TonyRoussel TonyRoussel committed Aug 2, 2016
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -9,6 +9,6 @@ namespace NinjaTurtlesMutation.Console.Options
internal class InvalidArgumentValueException : ArgumentException
{
public InvalidArgumentValueException(string optionname, string why, string argument) :
- base($"{optionname}: {why}: {argument}") { }
+ base(string.Format("{0}: {1}: {2}", optionname, why, argument)) { }
}
}
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -9,6 +9,6 @@ namespace NinjaTurtlesMutation.Console.Options
internal class OptionArgumentParseException : ArgumentException
{
public OptionArgumentParseException(string optionname, string argument) :
- base($"{optionname}: couldn't parse argument: {argument}") { }
+ base(string.Format("{0}: couldn't parse argument: {1}", optionname, argument)) { }
}
}

0 comments on commit bba6c36

Please sign in to comment.