mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Use a well-known ReSharper simplification which I think ought to be OK in this case.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user