Skip to content

fix regression in init only fields #99

fix regression in init only fields

fix regression in init only fields #99

Triggered via push October 1, 2025 12:43
Status Success
Total duration 1m 10s
Artifacts

dotnet.yml

on: push
build-netstandard20
17s
build-netstandard20
build-net46
44s
build-net46
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-netstandard20: FastCloner/Code/AhoCorasick.cs#L81
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: FastCloner/Code/AhoCorasick.cs#L65
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: FastCloner/Code/ReflectionHelper.cs#L41
Converting null literal or possible null value to non-nullable type.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L32
Possible null reference return.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L27
Possible null reference return.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L27
Converting null literal or possible null value to non-nullable type.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L20
Possible null reference return.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L20
Converting null literal or possible null value to non-nullable type.
build-netstandard20: FastCloner/FastClonerExtensions.cs#L13
Possible null reference return.
build-netstandard20: FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.
build-net46: FastCloner/Code/AhoCorasick.cs#L81
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: FastCloner/Code/ReflectionHelper.cs#L41
Converting null literal or possible null value to non-nullable type.
build-net46: FastCloner/Code/AhoCorasick.cs#L65
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: FastCloner/FastClonerExtensions.cs#L32
Possible null reference return.
build-net46: FastCloner/FastClonerExtensions.cs#L27
Possible null reference return.
build-net46: FastCloner/FastClonerExtensions.cs#L27
Converting null literal or possible null value to non-nullable type.
build-net46: FastCloner/FastClonerExtensions.cs#L20
Possible null reference return.
build-net46: FastCloner/FastClonerExtensions.cs#L20
Converting null literal or possible null value to non-nullable type.
build-net46: FastCloner/FastClonerExtensions.cs#L13
Possible null reference return.
build-net46: FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.
build-and-test (9.0.101): FastCloner/Code/AhoCorasick.cs#L81
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 (9.0.101): FastCloner/Code/AhoCorasick.cs#L65
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 (9.0.101): FastCloner/Code/ReflectionHelper.cs#L41
Converting null literal or possible null value to non-nullable type.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L32
Possible null reference return.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L27
Possible null reference return.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L27
Converting null literal or possible null value to non-nullable type.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L20
Possible null reference return.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L20
Converting null literal or possible null value to non-nullable type.
build-and-test (9.0.101): FastCloner/FastClonerExtensions.cs#L13
Possible null reference return.
build-and-test (9.0.101): FastCloner/Code/Extensions.cs#L8
Possible null reference assignment.