Skip to content

Several bug fixes and improvements #9

Several bug fixes and improvements

Several bug fixes and improvements #9

Triggered via pull request November 14, 2023 12:43
@krahetskrahets
synchronize #945
dev
Status Success
Total duration 2m 59s
Artifacts

dotnet.yml

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

Annotations

30 warnings
.NET 6.0.x on ubuntu-latest: codes/csharp/utils/TreeNode.cs#L42
Nullable value type may be null.
.NET 6.0.x on ubuntu-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L30
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on ubuntu-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L41
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on ubuntu-latest: codes/csharp/utils/PrintUtil.cs#L52
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on ubuntu-latest: codes/csharp/utils/PrintUtil.cs#L121
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on ubuntu-latest: codes/csharp/utils/PrintUtil.cs#L135
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on ubuntu-latest: codes/csharp/chapter_tree/binary_tree_bfs.cs#L37
Possible null reference argument for parameter 'root' in 'List<int> binary_tree_bfs.LevelOrder(TreeNode root)'.
.NET 6.0.x on ubuntu-latest: codes/csharp/chapter_tree/binary_search_tree.cs#L142
Dereference of a possibly null reference.
.NET 6.0.x on ubuntu-latest: codes/csharp/chapter_tree/binary_search_tree.cs#L102
Dereference of a possibly null reference.
.NET 6.0.x on macos-latest: codes/csharp/utils/TreeNode.cs#L42
Nullable value type may be null.
.NET 6.0.x on macos-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L30
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on macos-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L41
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L21
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L22
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L27
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L33
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L10
Non-nullable field 'res' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_ii_compact.cs#L24
Possible null reference argument for parameter 'root' in 'void preorder_traversal_ii_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on macos-latest: codes/csharp/chapter_backtracking/preorder_traversal_ii_compact.cs#L25
Possible null reference argument for parameter 'root' in 'void preorder_traversal_ii_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on windows-latest: codes/csharp/chapter_computational_complexity/space_complexity.cs#L25
The variable 'c' is assigned but its value is never used
.NET 6.0.x on windows-latest: codes/csharp/chapter_computational_complexity/space_complexity.cs#L19
The variable 'a' is assigned but its value is never used
.NET 6.0.x on windows-latest: codes/csharp/chapter_computational_complexity/space_complexity.cs#L20
The variable 'b' is assigned but its value is never used
.NET 6.0.x on windows-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L30
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on windows-latest: codes/csharp/chapter_array_and_linkedlist/linked_list.cs#L41
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on windows-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L21
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on windows-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L22
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.
.NET 6.0.x on windows-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L27
Converting null literal or possible null value to non-nullable type.
.NET 6.0.x on windows-latest: codes/csharp/chapter_backtracking/preorder_traversal_i_compact.cs#L33
Possible null reference argument for parameter 'root' in 'void preorder_traversal_i_compact.PreOrder(TreeNode root)'.