Why does it compile?
<pre><code>            var cv = (new CustomValidator()
            {
                 ErrorMessage="Formato de telefone inválido",
                 ControlToValidate = "txtTelefoneIni", //&lt;-- see the extra comma
            });
</code></pre>
