public void IncorrectTypeForDateExpression() { var expectedErrors = new EdmLibTestErrors() { { 6, 10, EdmErrorCode.ExpressionPrimitiveKindNotValidForAssertedType } }; this.VerifySemanticValidation(ExpressionValidationTestModelBuilder.IncorrectTypeForDateExpression(this.EdmVersion), expectedErrors); }