Index: Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLines/ReferenceLineWriter.cs =================================================================== diff -u -r4e578730273a943bb02a2861c694a2707c8ef852 -rb2b9fdf365e70928a05c57966eeed30d9050e528 --- Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLines/ReferenceLineWriter.cs (.../ReferenceLineWriter.cs) (revision 4e578730273a943bb02a2861c694a2707c8ef852) +++ Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLines/ReferenceLineWriter.cs (.../ReferenceLineWriter.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528) @@ -55,7 +55,7 @@ { if (filePath == null) { - throw new ArgumentNullException("filePath"); + throw new ArgumentNullException(nameof(filePath)); } var polyLineShapeFileWriter = new PolylineShapeFileWriter(); @@ -81,12 +81,12 @@ { if (referenceLine == null) { - throw new ArgumentNullException("referenceLine"); + throw new ArgumentNullException(nameof(referenceLine)); } if (id == null) { - throw new ArgumentNullException("id"); + throw new ArgumentNullException(nameof(id)); } if (string.IsNullOrWhiteSpace(id))