max method

ErrorSeverity max(
  1. ErrorSeverity severity
)

Return the severity constant that represents the greatest severity.

Implementation

ErrorSeverity max(ErrorSeverity severity) =>
    this.ordinal >= severity.ordinal ? this : severity;