Skip to content

Refactoring to take advantage of C# 12 #23

Refactoring to take advantage of C# 12

Refactoring to take advantage of C# 12 #23

Triggered via pull request June 8, 2024 20:18
Status Success
Total duration 36s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Isop/CommandLine/ArgumentInvoker.cs#L29
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
build: src/Isop/CommandLine/Parse/ParsedArguments.cs#L80
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Isop/CommandLine/Parse/ArgumentParser.cs#L88
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
build: src/Isop/CommandLine/ConvertArgumentsToParameterValue.cs#L63
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Isop/Help/HelpXmlDocumentation.cs#L90
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Isop/Help/HelpForControllers.cs#L42
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Isop/CommandLine/ArgumentInvoker.cs#L92
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Example/MyController.cs#L33
Do not nest type Argument. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034)
build: src/Example/MyController.cs#L12
Member 'ActionWithInt' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/Example/MyController.cs#L27
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)