Index: Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs =================================================================== diff -u -r048a25c14a65ee63063d044a152f32dca20cbe15 -rb2b9fdf365e70928a05c57966eeed30d9050e528 --- Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 048a25c14a65ee63063d044a152f32dca20cbe15) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528) @@ -217,7 +217,7 @@ RoundedDouble newStructureNormalOrientation = value.ToPrecision(structureNormalOrientation.NumberOfDecimalPlaces); if (!double.IsNaN(newStructureNormalOrientation) && (newStructureNormalOrientation < 0 || newStructureNormalOrientation > 360)) { - throw new ArgumentOutOfRangeException("value", Resources.Orientation_Value_needs_to_be_between_0_and_360); + throw new ArgumentOutOfRangeException(nameof(value), Resources.Orientation_Value_needs_to_be_between_0_and_360); } structureNormalOrientation = newStructureNormalOrientation; } @@ -307,7 +307,7 @@ { if (!ValidProbabilityValue(value)) { - throw new ArgumentOutOfRangeException("value", Resources.FailureProbability_Value_needs_to_be_between_0_and_1); + throw new ArgumentOutOfRangeException(nameof(value), Resources.FailureProbability_Value_needs_to_be_between_0_and_1); } failureProbabilityStructureWithErosion = value; }