Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs =================================================================== diff -u -ra9f70d39c270923fa120d64dc1c9d9e1752fd42d -rb2b9fdf365e70928a05c57966eeed30d9050e528 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision a9f70d39c270923fa120d64dc1c9d9e1752fd42d) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528) @@ -482,7 +482,7 @@ { if (!ValidProbabilityValue(value)) { - throw new ArgumentOutOfRangeException("value", RingtoetsDataCommonProperties.FailureProbability_Value_needs_to_be_between_0_and_1); + throw new ArgumentOutOfRangeException(nameof(value), RingtoetsDataCommonProperties.FailureProbability_Value_needs_to_be_between_0_and_1); } failureProbabilityRepairClosure = value; } @@ -561,7 +561,7 @@ { if (!ValidProbabilityValue(value)) { - throw new ArgumentOutOfRangeException("value", RingtoetsDataCommonProperties.Probability_Must_be_in_range_zero_to_one); + throw new ArgumentOutOfRangeException(nameof(value), RingtoetsDataCommonProperties.Probability_Must_be_in_range_zero_to_one); } probabilityCollisionSecondaryStructure = value; }