Fix .net 8 warnings #158
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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)'.
|