public void BadCollectionElementInconsistentWithDeclaredType() { var expectedErrors = new EdmLibTestErrors() { { 8, 14, EdmErrorCode.ExpressionPrimitiveKindNotValidForAssertedType } }; this.VerifySemanticValidation(ExpressionValidationTestModelBuilder.BadCollectionElementInconsistentWithDeclaredType(this.EdmVersion), expectedErrors); }