升级silky组件版本号 #27
Annotations
10 warnings
build:
framework/src/Silky.Core/HostBuilderExtensions.cs#L15
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/Configuration/ConfigurationHelper.cs#L15
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/Exceptions/ValidationException.cs#L47
'ValidationException.LogLevel' hides inherited member 'SilkyException.LogLevel'. Use the new keyword if hiding was intended.
|
build:
framework/src/Silky.Core/Extensions/Collections/Generic/DictionaryExtensions.cs#L39
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
build:
framework/src/Silky.Core/Extensions/Collections/Generic/DictionaryExtensions.cs#L79
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
build:
framework/src/Silky.Core/Extensions/Collections/Generic/ListExtensions.cs#L44
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
build:
framework/src/Silky.Core/DependencyInjection/ServiceCollectionCommonExtensions.cs#L76
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/Reflection/AppDomainTypeFinder.cs#L25
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/Logging/DefaultInitLogger.cs#L33
Nullability in constraints for type parameter 'TState' of method 'DefaultInitLogger<T>.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
|
build:
framework/src/Silky.Core/Logging/DefaultInitLogger.cs#L16
Nullability of reference types in type of parameter 'exception' of 'void DefaultInitLogger<T>.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
|