Index: Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityHelper.cs
===================================================================
diff -u -r320fc1268c48766797d895a8f4ace546f35bf64c -refda6c0d122053155de9a63fb0d7b063a76d3a1b
--- Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityHelper.cs (.../ProbabilityHelper.cs) (revision 320fc1268c48766797d895a8f4ace546f35bf64c)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityHelper.cs (.../ProbabilityHelper.cs) (revision efda6c0d122053155de9a63fb0d7b063a76d3a1b)
@@ -38,7 +38,7 @@
/// Checks whether the given is valid.
///
/// The probability to check.
- /// Optional: true is should
+ /// Optional: true if should
/// be considered a valid value. Default is false.
/// true when is valid; false otherwise.
public static bool IsValidProbability(double probability, bool isNaNValid = false)
@@ -55,7 +55,7 @@
///
/// The value to be validated.
/// The name of the argument.
- /// Optional: true is should
+ /// Optional: true if should
/// be considered a valid value. Default is false.
/// Thrown when
/// is not a valid probability value.
@@ -71,7 +71,7 @@
/// The name of the argument.
/// The custom message containing an insertion points
/// (specifically {0}) for the validity range of .
- /// Optional: true is should
+ /// Optional: true if should
/// be considered a valid value. Default is false.
/// Thrown when
/// is not a valid probability value.
@@ -81,7 +81,7 @@
{
if (!customMessage.Contains("{0}"))
{
- throw new ArgumentException("The custom message should have a insert location (\"{0}\") where the validity range is to be inserted.",
+ throw new ArgumentException(@"The custom message should have a insert location (""{0}"") where the validity range is to be inserted.",
nameof(customMessage));
}