Skip to content

sg: nullable warnings #162

sg: nullable warnings

sg: nullable warnings #162

Triggered via push February 26, 2026 17:39
Status Success
Total duration 1m 35s
Artifacts

dotnet.yml

on: push
build-netstandard20
31s
build-netstandard20
build-net46
1m 28s
build-net46
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-netstandard20: src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
build-netstandard20: src/FastCloner/Code/AhoCorasick.cs#L66
Argument of type 'Dictionary<char, AhoCorasick.Node>' cannot be used for parameter 'dictionary' of type 'Dictionary<char, AhoCorasick.Node?>' in 'Node? Extensions.GetValueOrDefault<char, Node?>(Dictionary<char, Node?> dictionary, char key, Node? defaultValue = null)' due to differences in the nullability of reference types.
build-netstandard20: src/FastCloner/Code/ReflectionHelper.cs#L30
Converting null literal or possible null value to non-nullable type.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L34
Possible null reference return.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L29
Possible null reference return.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L22
Possible null reference return.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L22
Converting null literal or possible null value to non-nullable type.
build-netstandard20: src/FastCloner/FastClonerExtensions.cs#L15
Possible null reference return.
build-netstandard20: src/FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.
build-and-test (10.0.100): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
build-and-test (10.0.100): src/FastCloner/Code/AhoCorasick.cs#L66
Argument of type 'Dictionary<char, AhoCorasick.Node>' cannot be used for parameter 'dictionary' of type 'Dictionary<char, AhoCorasick.Node?>' in 'Node? Extensions.GetValueOrDefault<char, Node?>(Dictionary<char, Node?> dictionary, char key, Node? defaultValue = null)' due to differences in the nullability of reference types.
build-and-test (10.0.100): src/FastCloner/Code/ReflectionHelper.cs#L30
Converting null literal or possible null value to non-nullable type.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L34
Possible null reference return.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L29
Possible null reference return.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L22
Possible null reference return.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L22
Converting null literal or possible null value to non-nullable type.
build-and-test (10.0.100): src/FastCloner/FastClonerExtensions.cs#L15
Possible null reference return.
build-and-test (10.0.100): src/FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.
build-net46: src/FastCloner/Code/AhoCorasick.cs#L82
Argument of type 'Dictionary<char, AhoCorasick.Node>' cannot be used for parameter 'dictionary' of type 'Dictionary<char, AhoCorasick.Node?>' in 'Node? Extensions.GetValueOrDefault<char, Node?>(Dictionary<char, Node?> dictionary, char key, Node? defaultValue = null)' due to differences in the nullability of reference types.
build-net46: src/FastCloner/Code/AhoCorasick.cs#L66
Argument of type 'Dictionary<char, AhoCorasick.Node>' cannot be used for parameter 'dictionary' of type 'Dictionary<char, AhoCorasick.Node?>' in 'Node? Extensions.GetValueOrDefault<char, Node?>(Dictionary<char, Node?> dictionary, char key, Node? defaultValue = null)' due to differences in the nullability of reference types.
build-net46: src/FastCloner/Code/ReflectionHelper.cs#L30
Converting null literal or possible null value to non-nullable type.
build-net46: src/FastCloner/FastClonerExtensions.cs#L34
Possible null reference return.
build-net46: src/FastCloner/FastClonerExtensions.cs#L29
Possible null reference return.
build-net46: src/FastCloner/FastClonerExtensions.cs#L29
Converting null literal or possible null value to non-nullable type.
build-net46: src/FastCloner/FastClonerExtensions.cs#L22
Possible null reference return.
build-net46: src/FastCloner/FastClonerExtensions.cs#L22
Converting null literal or possible null value to non-nullable type.
build-net46: src/FastCloner/FastClonerExtensions.cs#L15
Possible null reference return.
build-net46: src/FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.