Index: Ringtoets/Common/src/Ringtoets.Common.Data/StructureBase.cs =================================================================== diff -u -rb2b9fdf365e70928a05c57966eeed30d9050e528 -r589249bddd12bd66da39205d408ff6e907220116 --- Ringtoets/Common/src/Ringtoets.Common.Data/StructureBase.cs (.../StructureBase.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528) +++ Ringtoets/Common/src/Ringtoets.Common.Data/StructureBase.cs (.../StructureBase.cs) (revision 589249bddd12bd66da39205d408ff6e907220116) @@ -42,11 +42,11 @@ { if (string.IsNullOrWhiteSpace(constructionProperties.Name)) { - throw new ArgumentException(@"Name is null, empty or consists of whitespace.", "constructionProperties"); + throw new ArgumentException(@"Name is null, empty or consists of whitespace.", nameof(constructionProperties)); } if (string.IsNullOrWhiteSpace(constructionProperties.Id)) { - throw new ArgumentException(@"Id is null, empty or consists of whitespace.", "constructionProperties"); + throw new ArgumentException(@"Id is null, empty or consists of whitespace.", nameof(constructionProperties)); } if (constructionProperties.Location == null) {