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"); } }
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"); } }