C# : Implicit conversion between '<null>' and 'bool'
<p>I got a weird error message when I tried to convert an <code>object</code> to <code>bool</code>, here is my code:</p>

<pre><code>public partial class ModifierAuteur : DevExpress.XtraEditors.XtraForm
{
    public ModifierAuteur(object getKeyDecesCheckBox)
    {
         decesCheckBox.Checked = getKeyDecesCheckBox == null ? null : (bool)getKeyDecesCheckBox;
    }
}
</code></pre>

<p>and this is the error message :</p>

<blockquote>
  <p>Type of conditional expression cannot be determined because there is
  no implicit conversion between <code>&lt;null&gt;</code> and <code>bool</code></p>
</blockquote>
