You win chrisf =P

This commit is contained in:
James Dunne
2012-07-03 19:05:46 -05:00
parent b2e9085371
commit e49a439c79

View File

@@ -60,9 +60,9 @@ namespace OpenRA
sb.AppendFormat("Exception of type `{0}`: {1}", e.GetType().FullName, e.Message); sb.AppendFormat("Exception of type `{0}`: {1}", e.GetType().FullName, e.Message);
TypeLoadException tle; if (e is TypeLoadException)
if ((tle = e as TypeLoadException) != null)
{ {
var tle = (TypeLoadException)e;
sb.AppendLine(); sb.AppendLine();
Indent(sb, d); Indent(sb, d);
sb.AppendFormat("TypeName=`{0}`", tle.TypeName); sb.AppendFormat("TypeName=`{0}`", tle.TypeName);