From fd8db354af44cfd2142186c762d2c280c0639233 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 22 Jul 2018 07:54:43 +0200 Subject: monogame-patcher: Fix string antiquotation Getting a message like "Type {thetype} not found." is not very helpful, so let's add the $ in front of the string. Signed-off-by: aszlig --- pkgs/games/build-support/monogame-patcher/src/patcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/games') diff --git a/pkgs/games/build-support/monogame-patcher/src/patcher.cs b/pkgs/games/build-support/monogame-patcher/src/patcher.cs index 90ed640f..0ec013ff 100644 --- a/pkgs/games/build-support/monogame-patcher/src/patcher.cs +++ b/pkgs/games/build-support/monogame-patcher/src/patcher.cs @@ -56,7 +56,7 @@ class Command { if (!found) { var thetype = string.Join("::", n); - throw new Exception("Type {thetype} not found."); + throw new Exception($"Type {thetype} not found."); } } } -- cgit 1.4.1