This:
System.Drawing.ColorTranslator.FromHtml("wrong color");
Will be marked as an Error. Category is Usage.
Diagnostic id is CC0053
How to implement it is being discussed below, we still have to find an optimal way to do it, as we cannot call ColorTranslator from the Code Cracker project and see if it throws, as CC is a PCL, and System.Drawing is not available.
@dgmachado is working on it.
This:
Will be marked as an
Error. Category isUsage.Diagnostic id is
CC0053How to implement it is being discussed below, we still have to find an optimal way to do it, as we cannot call
ColorTranslatorfrom the Code Cracker project and see if it throws, as CC is a PCL, andSystem.Drawingis not available.@dgmachado is working on it.