Skip to content

为了提升性能,在同步调用异步时规避卡UI上下文,所有await状态机都设置ConfigureAwait(false),开启CA2007并视… #136

为了提升性能,在同步调用异步时规避卡UI上下文,所有await状态机都设置ConfigureAwait(false),开启CA2007并视…

为了提升性能,在同步调用异步时规避卡UI上下文,所有await状态机都设置ConfigureAwait(false),开启CA2007并视… #136

Triggered via push November 30, 2024 15:18
Status Failure
Total duration 34s
Artifacts

publish-beta.yml

on: push
build-publish
25s

Annotations

2 errors and 10 warnings
build-publish
The current .NET SDK does not support targeting .NET 9.0. Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download
build-publish
Process completed with exit code 1.
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/Redis.cs#L795
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/Services/RedisStatGroup.cs#L14
Non-nullable property 'Redis' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-publish: NewLife.Redis/Common/RedisHelper.cs#L19
Possible null reference return.
build-publish: NewLife.Redis/Common/RedisHelper.cs#L53
Nullability of reference types in value of type 'IDictionary<string, object?>' doesn't match target type 'IDictionary<string, object>'.
build-publish: NewLife.Redis/FullRedis.cs#L518
Nullability of reference types in value of type 'Dictionary<string, T?>' doesn't match target type 'IDictionary<string, T>'.
build-publish: NewLife.Redis/Clusters/SentinelInfo.cs#L14
Possible null reference return.
build-publish: NewLife.Redis/Clusters/SlaveInfo.cs#L14
Possible null reference return.
build-publish: NewLife.Redis/Clusters/SentinelInfo.cs#L32
Possible null reference return.
build-publish: NewLife.Redis/Clusters/SentinelInfo.cs#L50
Possible null reference return.