Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/RingtoetsMapDataFeaturesFactory.cs =================================================================== diff -u -rb7221a5a77ae68bee3347d4f06fab37505b44bf2 -ra43e923ba7f90d57988aaeecf132d25fe3db0c23 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/RingtoetsMapDataFeaturesFactory.cs (.../RingtoetsMapDataFeaturesFactory.cs) (revision b7221a5a77ae68bee3347d4f06fab37505b44bf2) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/RingtoetsMapDataFeaturesFactory.cs (.../RingtoetsMapDataFeaturesFactory.cs) (revision a43e923ba7f90d57988aaeecf132d25fe3db0c23) @@ -56,7 +56,7 @@ { if (points == null) { - throw new ArgumentNullException("points"); + throw new ArgumentNullException(nameof(points)); } return new MapFeature(new[] @@ -126,15 +126,15 @@ { if (hydraulicBoundaryLocations == null) { - throw new ArgumentNullException("hydraulicBoundaryLocations"); + throw new ArgumentNullException(nameof(hydraulicBoundaryLocations)); } if (designWaterLevelAttributeName == null) { - throw new ArgumentNullException("designWaterLevelAttributeName"); + throw new ArgumentNullException(nameof(designWaterLevelAttributeName)); } if (waveHeightAttributeName == null) { - throw new ArgumentNullException("waveHeightAttributeName"); + throw new ArgumentNullException(nameof(waveHeightAttributeName)); } var features = new MapFeature[hydraulicBoundaryLocations.Length]; @@ -393,7 +393,7 @@ foreshoreProfile.Orientation); } - private static MapFeature CreateSinglePointMapFeature(Point2D point) + public static MapFeature CreateSinglePointMapFeature(Point2D point) { return new MapFeature(new[] {