修复异常提示不正确的bug #36
Annotations
11 warnings
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/DependencyInjection/ServiceCollectionCommonExtensions.cs#L76
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/IEngine.cs#L60
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/IEngine.cs#L62
Cannot convert null literal to non-nullable reference type.
|
build:
framework/src/Silky.Core/IEngine.cs#L63
Cannot convert null literal to non-nullable reference type.
|