You can, instead, use the following in place of the expected line of code.
@(ViewContext.ClientValidationEnabled = true)
Probably an oversight in the extension methods for htmlhelper.
Actually, you can use the HtmlHelper method by doing the following
@{ Html.EnableClientValidation(); }