max method
Return the severity constant that represents the greatest severity.
Implementation
DiagnosticSeverity max(DiagnosticSeverity severity) =>
this.ordinal >= severity.ordinal ? this : severity;
Return the severity constant that represents the greatest severity.
DiagnosticSeverity max(DiagnosticSeverity severity) =>
this.ordinal >= severity.ordinal ? this : severity;