Skip to content

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

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 #21

Triggered via pull request April 13, 2024 15:31
Status Success
Total duration 2m 5s
Artifacts

dotnet.yml

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

Annotations

22 warnings
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#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/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/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#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#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#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#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#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, 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, 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#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/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/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#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#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, 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#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, 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#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#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)