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