Exemple #1
0
 public override bool Visit(Evaluate evaluate)
 {
     if (evaluate.GetChildren <WhenOther>().Count == 0)
     {
         DiagnosticUtils.AddError(evaluate.CodeElement,
                                  "\"when other\" is missing", MessageCode.Warning);
     }
     return(true);
 }