Merge pull request #409 from LogExperts/wrong_folder_structure #114
Annotations
10 warnings
|
build:
src/ColumnizerLib/Column.cs#L10
Field '_maxLength' is declared as 'readonly' but is initialized with a constant value. Mark this field as 'const' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802)
|
|
build:
src/ColumnizerLib/Column.cs#L34
Use span-based 'string.Concat' and 'AsSpan' instead of 'Substring' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1845)
|
|
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)
|
|
build:
src/ColumnizerLib/Column.cs#L11
Field '_replacement' is declared as 'readonly' but is initialized with a constant value. Mark this field as 'const' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802)
|
|
build:
src/ColumnizerLib/LineEntry.cs#L18
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
build:
src/ColumnizerLib/LineEntry.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
|
build:
src/ColumnizerLib/LineEntry.cs#L8
LineEntry should override the equality (==) and inequality (!=) operators (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)
|
|
build:
src/ColumnizerLib/LineEntry.cs#L8
LineEntry should override Equals (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)
|
|
build:
src/ColumnizerLib/IXmlLogConfiguration.cs#L33
Rename virtual/interface member IXmlLogConfiguration.Namespace so that it no longer conflicts with the reserved language keyword 'Namespace'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|