We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e903f9 commit a4649efCopy full SHA for a4649ef
exercises/concept/instruments-of-texas/.meta/Exemplar.cs
@@ -30,11 +30,11 @@ public string TestMultiplication(int x, int y)
30
}
31
catch (CalculationException cex) when (cex.Operand1 < 0 && cex.Operand2 < 0)
32
{
33
- return "Multiply failed for negative operands. " + cex.InnerException.Message;
+ return "Multiply failed for negative operands. " + cex.InnerException!.Message;
34
35
catch (CalculationException cex)
36
37
- return "Multiply failed for mixed or positive operands. " + cex.InnerException.Message;
+ return "Multiply failed for mixed or positive operands. " + cex.InnerException!.Message;
38
39
40
0 commit comments