Index: Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructureLocation.cs =================================================================== diff -u -r6ef5e439a6d9f40ebd9926251945e0935fbbc314 -r5804eb2345410be916d1b601e70e10000f2eb61c --- Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructureLocation.cs (.../StructureLocation.cs) (revision 6ef5e439a6d9f40ebd9926251945e0935fbbc314) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructureLocation.cs (.../StructureLocation.cs) (revision 5804eb2345410be916d1b601e70e10000f2eb61c) @@ -42,14 +42,17 @@ { throw new ArgumentNullException(nameof(id)); } + if (name == null) { throw new ArgumentNullException(nameof(name)); } + if (point == null) { throw new ArgumentNullException(nameof(point)); } + Id = id; Name = name; Point = point;