Skip to content

Code analysis: Add editorconfig, activate code analysis, and fix code according to rules #16

Code analysis: Add editorconfig, activate code analysis, and fix code according to rules

Code analysis: Add editorconfig, activate code analysis, and fix code according to rules #16

Triggered via pull request January 24, 2024 21:07
Status Failure
Total duration 2m 37s
Artifacts

dotnet.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
build (windows-latest, Release)
Process completed with exit code 1.
build (windows-latest, Release)
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 (windows-latest, Release): 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 (windows-latest, Release): 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 (windows-latest, Release): 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 (windows-latest, Release): 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 (windows-latest, Release): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L135
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 (windows-latest, Release): 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 (windows-latest, Release): 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)
build (windows-latest, Release): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L128
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 (windows-latest, Release): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L157
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 (windows-latest, Release): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L161
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 (windows-latest, Debug)
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 (windows-latest, Debug): 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 (windows-latest, Debug): 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 (windows-latest, Debug): 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 (windows-latest, Debug): 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 (windows-latest, Debug): 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 (windows-latest, Debug): 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)
build (windows-latest, Debug): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L157
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 (windows-latest, Debug): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L161
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 (windows-latest, Debug): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L177
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 (windows-latest, Debug): src/SharpLearning.InputOutput/Csv/CsvRowExtensions.cs#L181
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)