Clean warnings #153
Annotations
5 errors and 10 warnings
|
build
Process completed with exit code 1.
|
|
build:
src/SftpFileSystemx64/SftpFileSystem.cs#L109
The name 'CultureInfo' does not exist in the current context
|
|
build:
src/SftpFileSystemx64/SftpFileSystem.cs#L109
The name 'CultureInfo' does not exist in the current context
|
|
build:
src/SftpFileSystemx64/SftpFileSystem.cs#L109
The name 'CultureInfo' does not exist in the current context
|
|
build:
src/SftpFileSystemx64/SftpFileSystem.cs#L109
The name 'CultureInfo' does not exist in the current context
|
|
build:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L123
'_sftp == null' 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:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L117
'_sftp == null' 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:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L89
'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:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L83
'_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:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L63
'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:
src/SftpFileSystemx64/SftpFileSystem.cs#L52
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:
src/SftpFileSystemx64/SftpFileSystem.cs#L38
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:
src/SftpFileSystemx64/SftpLogFileInfo.cs#L177
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:
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:
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)
|