Skip to content

Removed ObsoleteAttribute from the old methods' signatures #842

Removed ObsoleteAttribute from the old methods' signatures

Removed ObsoleteAttribute from the old methods' signatures #842

Triggered via pull request August 22, 2025 21:29
Status Success
Total duration 4m 31s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
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/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/Reflection/CustomPropertyHelper.cs#L49
Nullability of reference types in value of type 'List<MiniExcelColumnInfo?>' doesn't match target type 'List<MiniExcelColumnInfo>'.
Analyze (csharp): src/MiniExcel.Core/Reflection/CustomPropertyHelper.cs#L49
Argument of type 'List<MiniExcelColumnInfo?>' cannot be used for parameter 'props' of type 'List<MiniExcelColumnInfo>' in 'List<MiniExcelColumnInfo?> CustomPropertyHelper.SortCustomProps(List<MiniExcelColumnInfo> props)' due to differences in the nullability of reference types.
Analyze (csharp): src/MiniExcel.Core/Reflection/CustomPropertyHelper.cs#L43
Dereference of a possibly null reference.
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/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