Code analysis: Add editorconfig, activate code analysis, and fix code according to rules #15
Annotations
11 warnings
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/SharpLearning.Containers/Views/Interval1D.cs#L34
Call the ArgumentException constructor that contains a message and/or paramName parameter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvParser.cs#L35
Method .ctor passes parameter name 'reader' as the message argument to a ArgumentException constructor. Replace this argument with a descriptive message and pass the parameter name in the correct position. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvRow.cs#L30
Method .ctor passes parameter name 'columnNameToIndex' as the message argument to a ArgumentException constructor. Replace this argument with a descriptive message and pass the parameter name in the correct position. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvWriter.cs#L23
Method .ctor passes parameter name 'writer' as the message argument to a ArgumentException constructor. Replace this argument with a descriptive message and pass the parameter name in the correct position. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L86
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L82
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvWriter.cs#L46
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvWriter.cs#L38
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L111
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
Build:
src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L118
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
The logs for this run have expired and are no longer available.
Loading