Skip to content

move to TUnit, fix thread safety edge cases #202

move to TUnit, fix thread safety edge cases

move to TUnit, fix thread safety edge cases #202

Triggered via pull request March 10, 2026 01:43
@lofczlofcz
synchronize #34
feat-tunit
Status Success
Total duration 3m 25s
Artifacts

dotnet.yml

on: pull_request
build-netstandard20
27s
build-netstandard20
build-net46
1m 8s
build-net46
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

50 warnings
build-netstandard20: src/FastCloner/Code/FastClonerGenerator.cs#L718
Dereference of a possibly null reference.
build-netstandard20: src/FastCloner/Code/FastClonerGenerator.cs#L695
Dereference of a possibly null reference.
build-netstandard20: src/FastCloner/Code/FastClonerCache.cs#L254
Possible null reference return.
build-netstandard20: src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'entries' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-netstandard20: src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'buckets' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-netstandard20: src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Possible null reference return.
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#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-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/Extensions.cs#L18
Possible null reference assignment.
build-and-test (ubuntu-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Possible null reference argument for parameter 'type' in 'object? FastClonerCache.GetOrAddField(Type type, string name, Func<Type, object?> valueFactory)'.
build-and-test (ubuntu-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'entries' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (ubuntu-latest): src/FastCloner/Code/AhoCorasick.cs#L29
Converting null literal or possible null value to non-nullable type.
build-and-test (ubuntu-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'buckets' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (ubuntu-latest): src/FastCloner/Code/FastClonerCache.cs#L254
Possible null reference return.
build-and-test (ubuntu-latest): src/FastCloner/Code/AhoCorasick.cs#L29
Converting null literal or possible null value to non-nullable type.
build-and-test (ubuntu-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L18
Possible null reference argument for parameter 'type' in 'UnaryExpression Expression.Convert(Expression expression, Type type)'.
build-and-test (ubuntu-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
build-and-test (ubuntu-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Possible null reference argument for parameter 'type' in 'object? FastClonerCache.GetOrAddField(Type type, string name, Func<Type, object?> valueFactory)'.
build-and-test (macos-latest): src/FastCloner/Code/FastClonerGenerator.cs#L718
Dereference of a possibly null reference.
build-and-test (macos-latest): src/FastCloner/Code/FastClonerGenerator.cs#L695
Dereference of a possibly null reference.
build-and-test (macos-latest): src/FastCloner/Code/FastClonerCache.cs#L254
Possible null reference return.
build-and-test (macos-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'entries' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (macos-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'buckets' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (macos-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L18
Possible null reference argument for parameter 'type' in 'UnaryExpression Expression.Convert(Expression expression, Type type)'.
build-and-test (macos-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
build-and-test (macos-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Possible null reference argument for parameter 'type' in 'object? FastClonerCache.GetOrAddField(Type type, string name, Func<Type, object?> valueFactory)'.
build-and-test (macos-latest): src/FastCloner/Code/AhoCorasick.cs#L29
Converting null literal or possible null value to non-nullable type.
build-net46: src/FastCloner/Code/FastClonerGenerator.cs#L718
Dereference of a possibly null reference.
build-net46: src/FastCloner/Code/FastClonerGenerator.cs#L695
Dereference of a possibly null reference.
build-net46: src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'entries' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-net46: src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'buckets' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-net46: src/FastCloner/Code/FastClonerCache.cs#L254
Possible null reference return.
build-net46: src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Possible null reference return.
build-net46: src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
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/Extensions.cs#L18
Possible null reference assignment.
build-and-test (windows-latest): src/FastCloner/Code/FastClonerGenerator.cs#L718
Dereference of a possibly null reference.
build-and-test (windows-latest): src/FastCloner/Code/FastClonerGenerator.cs#L695
Dereference of a possibly null reference.
build-and-test (windows-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'entries' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (windows-latest): src/FastCloner/Code/FastCloneState.cs#L333
Non-nullable field 'buckets' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test (windows-latest): src/FastCloner/Code/FastClonerCache.cs#L254
Possible null reference return.
build-and-test (windows-latest): src/FastCloner/Code/FieldAccessorGenerator.cs#L10
Converting null literal or possible null value to non-nullable type.
build-and-test (windows-latest): 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-and-test (windows-latest): 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 (windows-latest): src/FastCloner/Code/Extensions.cs#L18
Possible null reference assignment.