Skip to content

Got rid of a few warnings #131

Got rid of a few warnings

Got rid of a few warnings #131

Triggered via pull request June 12, 2025 23:14
Status Failure
Total duration 1m 44s
Artifacts

test_dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: src/LogExpert.Core/Config/ColorMode.cs#L31
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Config/ColorMode.cs#L30
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Config/ColorMode.cs#L29
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Config/ColorMode.cs#L28
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Config/ColorMode.cs#L27
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Config/ColorMode.cs#L26
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
build: src/LogExpert.Core/Callback/ColumnizerCallback.cs#L24
The property name 'LineNum' is confusing given the existence of method 'GetLineNum'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
build: src/LogExpert.Core/Classes/Persister/Persister.cs#L148
The variable 'e' is declared but never used
build: src/ColumnizerLib/IFileSystemPlugin.cs#L34
Change the type of parameter 'uriString' of method 'IFileSystemPlugin.CanHandleUri(string)' from 'string' to 'System.Uri', or provide an overload to 'IFileSystemPlugin.CanHandleUri(string)' that allows 'uriString' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
build: src/ColumnizerLib/IFileSystemPlugin.cs#L42
Change the type of parameter 'uriString' of method 'IFileSystemPlugin.GetLogfileInfo(string)' from 'string' to 'System.Uri', or provide an overload to 'IFileSystemPlugin.GetLogfileInfo(string)' that allows 'uriString' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)