diff --git a/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/schema/XmlSchemaException.cs b/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/schema/XmlSchemaException.cs index b0e20dccf76..3a1ba0a3517 100644 --- a/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/schema/XmlSchemaException.cs +++ b/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/schema/XmlSchemaException.cs @@ -99,14 +99,12 @@ internal XmlSchemaException(string res, string[] args, Exception innerException, internal static string CreateMessage(string res, string[] args) { - try + if (args == null) { - return string.Format(res, args); - } - catch (MissingManifestResourceException) - { - return "UNKNOWN(" + res + ")"; + return res; } + + return string.Format(res, args); } internal string GetRes