fix: Fix CI #139
Annotations
20 warnings
build (Debug):
src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L17
Nullability of reference types in return type of 'string? JsonWritableConfig.CurrentPrefix.get' doesn't match implicitly implemented member 'string IWritableConfiguration.CurrentPrefix.get' (possibly because of nullability attributes).
|
build (Debug):
src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L297
Nullability of reference types in return type of 'IChangeToken? JsonWritableConfig.GetReloadToken()' doesn't match implicitly implemented member 'IChangeToken IConfiguration.GetReloadToken()' (possibly because of nullability attributes).
|
build (Debug):
src/YumeChan.Core/Infrastructure/Json/Converters/JsonDictionaryConverter.cs#L25
Converting null literal or possible null value to non-nullable type.
|
build (Debug):
src/YumeChan.Core/Infrastructure/Json/Converters/JsonDictionaryConverter.cs#L29
Possible null reference return.
|
build (Debug):
src/YumeChan.Core/CommandHandler.cs#L74
Dereference of a possibly null reference.
|
build (Debug):
src/YumeChan.Core/Infrastructure/SlashCommands/SlashCommandsExtensions.cs#L59
Cannot convert null literal to non-nullable reference type.
|
build (Debug):
src/YumeChan.Core/Infrastructure/Dynamic/Config/DynamicJsonDictionary.cs#L138
'ISerializable.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
|
build (Debug):
src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L22
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build (Debug):
src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L31
Possible null reference assignment.
|
build (Debug):
src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L31
Possible null reference return.
|
build (Release):
src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L17
Nullability of reference types in return type of 'string? JsonWritableConfig.CurrentPrefix.get' doesn't match implicitly implemented member 'string IWritableConfiguration.CurrentPrefix.get' (possibly because of nullability attributes).
|
build (Release):
src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L297
Nullability of reference types in return type of 'IChangeToken? JsonWritableConfig.GetReloadToken()' doesn't match implicitly implemented member 'IChangeToken IConfiguration.GetReloadToken()' (possibly because of nullability attributes).
|
build (Release):
src/YumeChan.Core/CommandHandler.cs#L74
Dereference of a possibly null reference.
|
build (Release):
src/YumeChan.Core/Infrastructure/Json/Converters/JsonDictionaryConverter.cs#L25
Converting null literal or possible null value to non-nullable type.
|
build (Release):
src/YumeChan.Core/Infrastructure/Json/Converters/JsonDictionaryConverter.cs#L29
Possible null reference return.
|
build (Release):
src/YumeChan.Core/Services/Plugins/NugetPluginsFetcher.cs#L54
Converting null literal or possible null value to non-nullable type.
|
build (Release):
src/YumeChan.Core/Services/Plugins/NugetPluginsFetcher.cs#L68
Possible null reference argument for parameter 'pluginsDirectory' in 'NuGetVersion? NugetPluginsFetcher.GetLocalPackageVersion(string pluginsDirectory, string packageName)'.
|
build (Release):
src/YumeChan.Core/Services/Plugins/NugetPluginsFetcher.cs#L86
Possible null reference argument for parameter 'hostDependencies' in 'Task NugetPluginsFetcher.GetPackageDependenciesAsync(PackageIdentity package, NuGetFramework framework, ImmutableArray<SourceRepository> repositories, DependencyContext hostDependencies, ICollection<SourcePackageDependencyInfo> availablePackages, CancellationToken ct)'.
|
build (Release):
src/YumeChan.Core/Infrastructure/SlashCommands/SlashCommandsExtensions.cs#L59
Cannot convert null literal to non-nullable reference type.
|
build (Release):
src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L22
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|