Skip to content

Fix .net 8 warnings #158

Fix .net 8 warnings

Fix .net 8 warnings #158

Triggered via push December 2, 2023 11:44
Status Success
Total duration 55s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/R136.Core/Engine.PrivateMethods.cs#L146
Argument of type 'List<string>' cannot be used for parameter 'list' of type 'List<string?>' in 'void ExtensionMethods.AddRangeIfNotNull<string?>(List<string?> list, IEnumerable<string?>? collection)' due to differences in the nullability of reference types.
build: src/R136.Core/Engine.PrivateMethods.cs#L149
Argument of type 'List<string>' cannot be used for parameter 'list' of type 'List<string?>' in 'void ExtensionMethods.AddRangeIfNotNull<string?>(List<string?> list, IEnumerable<string?>? collection)' due to differences in the nullability of reference types.
build: src/R136.Core/Engine.PrivateMethods.cs#L154
Argument of type 'List<string>' cannot be used for parameter 'list' of type 'List<string?>' in 'void ExtensionMethods.AddRangeIfNotNull<string?>(List<string?> list, IEnumerable<string?>? collection)' due to differences in the nullability of reference types.
build: src/R136.Core/Engine.PrivateMethods.cs#L176
Dereference of a possibly null reference.
build: src/R136.Core/Engine.PrivateMethods.cs#L178
Possible null reference argument for parameter 'source' in 'string ExtensionMethods.ReplacePlaceholders(string source, IReadOnlyDictionary<string, object> valueMap)'.
build: src/R136.Core/Engine.PrivateMethods.cs#L187
Dereference of a possibly null reference.
build: src/R136.Core/Engine.PrivateMethods.cs#L194
Dereference of a possibly null reference.
build: src/R136.Core/Engine.PrivateMethods.cs#L212
Dereference of a possibly null reference.
build: src/R136.Core/Engine.PrivateMethods.cs#L216
Possible null reference argument for parameter 'value' in 'void Dictionary<string, object>.Add(string key, object value)'.
build: src/R136.Core/Engine.PrivateMethods.cs#L217
Possible null reference argument for parameter 'value' in 'void Dictionary<string, object>.Add(string key, object value)'.