Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

You win chrisf =P

  • Loading branch information...
commit e49a439c79cf33bfecd93f5cf71c7bdf7413d970 1 parent b2e9085
@JamesDunne JamesDunne authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 OpenRA.Game/Support/Program.cs
View
4 OpenRA.Game/Support/Program.cs
@@ -60,9 +60,9 @@ static StringBuilder BuildExceptionReport(Exception e, StringBuilder sb, int d)
sb.AppendFormat("Exception of type `{0}`: {1}", e.GetType().FullName, e.Message);
- TypeLoadException tle;
- if ((tle = e as TypeLoadException) != null)
+ if (e is TypeLoadException)
{
+ var tle = (TypeLoadException)e;
sb.AppendLine();
Indent(sb, d);
sb.AppendFormat("TypeName=`{0}`", tle.TypeName);
Please sign in to comment.
Something went wrong with that request. Please try again.