Skip to content

PR 870 oversight fix #861

PR 870 oversight fix

PR 870 oversight fix #861

Triggered via pull request September 10, 2025 21:57
Status Success
Total duration 3m 53s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): src/MiniExcel.Core/Api/OpenXmlImporter.cs#L159
Possible null reference argument for parameter 'value' in 'void Dictionary<string, string>.Add(string key, string value)'.
Analyze (csharp): src/MiniExcel.Core/WriteAdapters/EnumerableWriteAdapter.cs#L96
Possible null reference argument for parameter 'prop' in 'CellWriteInfo.CellWriteInfo(object? value, int cellIndex, MiniExcelColumnInfo prop)'.
Analyze (csharp): src/MiniExcel.Core/OpenXml/Models/FileDto.cs#L9
Non-nullable property 'Byte' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/MiniExcel.Core/OpenXml/Models/FileDto.cs#L6
Non-nullable property 'Extension' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/MiniExcel.Core/OpenXml/Models/SheetDto.cs#L10
Non-nullable property 'State' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/MiniExcel.Core/OpenXml/Models/SheetRecord.cs#L9
Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/MiniExcel.Core/DataReader/MiniExcelAsyncDataReader.cs#L19
Non-nullable field '_keys' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Analyze (csharp): src/MiniExcel.Core/DataReader/MiniExcelDataReader.cs#L17
Non-nullable field '_keys' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Analyze (csharp): src/MiniExcel.Core/Attributes/MiniExcelColumnAttribute.cs#L47
Non-nullable property 'CustomFormatter' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): src/MiniExcel.Core/Api/OpenXmlImporter.cs#L315
Async-iterator 'OpenXmlImporter.CastAsync(IAsyncEnumerable<dynamic>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed