public void HasInvalidShapes(string shapefilename) { using (var fs = new FeatureSet(Path.Combine(FranceProjectPath, "Shapefiles", shapefilename))) { Assert.IsFalse(fs.HasInvalidShapes(), "Shapefile has invalid shapes"); // Close feature set: fs.Close(); } }