You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) .NET Foundation and contributors. All rights reserved.
2
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+
namespaceSystem.CommandLine.Parsing;
5
+
6
+
/// <summary>
7
+
/// Describes how severe a <see cref="CliDiagnostic"/> is."/>
8
+
/// </summary>
9
+
// Pattern based on: https://github.com/dotnet/roslyn/blob/1cca63b5d8ea170f8d8e88e1574aa3ebe354c23b/src/Compilers/Core/Portable/Diagnostic/DiagnosticSeverity.cs.
10
+
publicenumCliDiagnosticSeverity
11
+
{
12
+
/// <summary>
13
+
/// Something that is not surfaced through normal means.
14
+
/// </summary>
15
+
Hidden=0,
16
+
17
+
/// <summary>
18
+
/// Information that does not indicate a problem (i.e. not prescriptive).
19
+
/// </summary>
20
+
Info,
21
+
22
+
/// <summary>
23
+
/// Something suspicious but allowed.
24
+
/// </summary>
25
+
Warning,
26
+
27
+
/// <summary>
28
+
/// Something that is definitely wrong and needs fixing.
0 commit comments