Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f846699 commit 5b33f43Copy full SHA for 5b33f43
1 file changed
csharp/extractor/Semmle.Util/Logger.cs
@@ -129,7 +129,7 @@ private static string GetSeverityPrefix(Severity s)
129
case Severity.Error:
130
return "Error: ";
131
default:
132
- throw new ArgumentOutOfRangeException("s");
+ throw new ArgumentOutOfRangeException(nameof(s));
133
}
134
135
@@ -188,7 +188,7 @@ public static bool Includes(this Verbosity v, Severity s)
188
189
return v >= Verbosity.Error;
190
191
192
193
194
0 commit comments