Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/PresentationObjects/DuneLocationsContext.cs =================================================================== diff -u -r09c84a48786fe4ac28e40b7fc0470f56e4c00df4 -rb2b9fdf365e70928a05c57966eeed30d9050e528 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/PresentationObjects/DuneLocationsContext.cs (.../DuneLocationsContext.cs) (revision 09c84a48786fe4ac28e40b7fc0470f56e4c00df4) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/PresentationObjects/DuneLocationsContext.cs (.../DuneLocationsContext.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528) @@ -46,11 +46,11 @@ { if (failureMechanism == null) { - throw new ArgumentNullException("failureMechanism"); + throw new ArgumentNullException(nameof(failureMechanism)); } if (assessmentSection == null) { - throw new ArgumentNullException("assessmentSection"); + throw new ArgumentNullException(nameof(assessmentSection)); } AssessmentSection = assessmentSection; FailureMechanism = failureMechanism;