update settings, should now no longer be lost #48
Annotations
20 warnings
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L11
The type name JsonColumnizer conflicts in whole or in part with the namespace name 'JsonColumnizer'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L177
In externally visible method 'IColumnizedLogLine JsonColumnizer.SplitJsonLine(ILogLine line, JObject json)', validate parameter 'json' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L156
In externally visible method 'JObject JsonColumnizer.ParseJson(ILogLine line)', validate parameter 'line' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L142
In externally visible method 'Priority JsonColumnizer.GetPriority(string fileName, IEnumerable<ILogLine> samples)', validate parameter 'fileName' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L30
In externally visible method 'void JsonColumnizer.Selected(ILogLineColumnizerCallback callback)', validate parameter 'callback' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L107
In externally visible method 'IColumnizedLogLine JsonColumnizer.SplitLine(ILogLineColumnizerCallback callback, ILogLine line)', validate parameter 'line' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build Application - Debug:
src/JsonColumnizer/JsonColumnizer.cs#L163
Do not nest type ColumnWithName. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034)
|
|
Build Application - Debug:
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 Application - Debug:
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)
|
|
Build Application - Debug:
src/ColumnizerLib/LineEntry.cs#L22
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L84
'success == false' is always 'false'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L78
'_sftp != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L58
'privateKeyFile != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpFileSystem.cs#L90
This overload of the 'XmlSerializer.Deserialize' method is potentially unsafe. It may enable Document Type Definition (DTD) which can be vulnerable to denial of service attacks, or might use an XmlResolver which can be vulnerable to information disclosure. Use an overload that takes a XmlReader instance instead, with DTD processing disabled and no XmlResolver. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5369)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpFileSystem.cs#L35
Modify 'CanHandleUri' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpFileSystem.cs#L49
Modify 'GetLogfileInfo' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
|
Build Application - Release:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L169
Modify 'get_FileExists' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
|
Build Application - Release:
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 Application - Release:
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)
|
|
Build Application - Release:
src/ColumnizerLib/LineEntry.cs#L22
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
Snapshot-Debug
Expired
|
8.56 MB |
sha256:14bd0600701668e9d4caa63373cc4e0268c02eda8d7ceafc9b8021c2810c08ff
|
|
|
Snapshot-Release
Expired
|
8.51 MB |
sha256:1e2d51c8ed57d2f561fc92beda70614e92689844b3c83758c316f0d86e9e8f65
|
|