Skip to content

Small cleanup

Small cleanup #40

Triggered via push November 25, 2023 08:37
Status Success
Total duration 57s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: ArcaneLibs.Logging/LogManager.cs#L21
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs.Logging/LogManager.cs#L33
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs.Logging/LogManager.cs#L35
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L3
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L7
'AutoPopulatingDictionary<T1, T2>.ContainsKey(T1)' hides inherited member 'Dictionary<T1, T2>.ContainsKey(T1)'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L9
'AutoPopulatingDictionary<T1, T2>.this[T1]' hides inherited member 'Dictionary<T1, T2>.this[T1]'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L4
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Extensions/DictionaryExtensions.cs#L10
Converting null literal or possible null value to non-nullable type.
build: ArcaneLibs/Extensions/ObjectExtensions.cs#L33
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020)
build: ArcaneLibs/Extensions/Streams/StreamExtensions.cs#L35
Unreachable code detected
build: ArcaneLibs.Logging/LogManager.cs#L21
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs.Logging/LogManager.cs#L33
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs.Logging/LogManager.cs#L35
Cannot convert null literal to non-nullable reference type.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L3
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L7
'AutoPopulatingDictionary<T1, T2>.ContainsKey(T1)' hides inherited member 'Dictionary<T1, T2>.ContainsKey(T1)'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L9
'AutoPopulatingDictionary<T1, T2>.this[T1]' hides inherited member 'Dictionary<T1, T2>.this[T1]'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L4
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Extensions/DictionaryExtensions.cs#L10
Converting null literal or possible null value to non-nullable type.
build: ArcaneLibs/Extensions/DictionaryExtensions.cs#L38
Converting null literal or possible null value to non-nullable type.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L3
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L7
'AutoPopulatingDictionary<T1, T2>.ContainsKey(T1)' hides inherited member 'Dictionary<T1, T2>.ContainsKey(T1)'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L9
'AutoPopulatingDictionary<T1, T2>.this[T1]' hides inherited member 'Dictionary<T1, T2>.this[T1]'. Use the new keyword if hiding was intended.
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L4
The type 'T1' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T1' doesn't match 'notnull' constraint.
build: ArcaneLibs/Extensions/DictionaryExtensions.cs#L10
Converting null literal or possible null value to non-nullable type.
build: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Extensions/DictionaryExtensions.cs#L38
Converting null literal or possible null value to non-nullable type.
build: ArcaneLibs/Extensions/StringExtensions.cs#L66
The variable 'success' is assigned but its value is never used
build: ArcaneLibs/Util.cs#L115
Dereference of a possibly null reference.
build: ArcaneLibs/Extensions/ObjectExtensions.cs#L33
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020)