Use a well-known ReSharper simplification which I think ought to be OK in this case.

This commit is contained in:
Per Lundberg
2014-06-12 04:54:07 +03:00
parent d593f11a89
commit 548291b06e
+1 -5
View File
@@ -19,11 +19,7 @@ namespace CefSharp.Internals
public override string ToString()
{
if (Description != null)
{
return Description.ToString();
}
return base.ToString();
return Description != null ? Description.ToString() : base.ToString();
}
}
}