コード例 #1
0
        private string ErrorChecksToString(MidlErrorChecks enableErrorChecks)
        {
            switch (enableErrorChecks)
            {
            case MidlErrorChecks.None:
                return("None");

            case MidlErrorChecks.Custom:
                return("EnableCustom");

            case MidlErrorChecks.All:
                return("All");

            default:
                throw new ArgumentOutOfRangeException("enableErrorChecks");
            }
        }
コード例 #2
0
 private string ErrorChecksToString(MidlErrorChecks enableErrorChecks)
 {
     switch (enableErrorChecks)
     {
         case MidlErrorChecks.None:
             return "None";
         case MidlErrorChecks.Custom:
             return "EnableCustom";
         case MidlErrorChecks.All:
             return "All";
         default:
             throw new ArgumentOutOfRangeException("enableErrorChecks");
     }
 }