Code analysis: Add editorconfig and fix code according to rules #15
Annotations
22 warnings
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.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 (windows-latest, Debug):
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 (windows-latest, Debug):
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 (windows-latest, Debug):
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 (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#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/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#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, 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.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 (windows-latest, Release):
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 (windows-latest, Release):
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 (windows-latest, Release):
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 (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#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#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#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)
|