Modernization #392
Annotations
1 error and 10 warnings
|
build
Process completed with exit code 1.
|
|
build:
Kontent.Ai.Delivery/UsedIn/UsedInItemSystemAttributes.cs#L16
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L86
Dereference of a possibly null reference.
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L82
Dereference of a possibly null reference.
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L29
Cannot convert null literal to non-nullable reference type.
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L29
Cannot convert null literal to non-nullable reference type.
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L29
Nullability of reference types in type of parameter 'dependenciesFactory' of 'Task<T> MemoryCacheManager.GetOrAddAsync<T>(string key, Func<Task<T>> valueFactory, Func<T, bool> shouldCache = null, Func<T, IEnumerable<string>> dependenciesFactory = null)' doesn't match implicitly implemented member 'Task<T> IDeliveryCacheManager.GetOrAddAsync<T>(string key, Func<Task<T>> valueFactory, Func<T, bool>? shouldCache = null, Func<T, IEnumerable<string>>? dependenciesFactory = null)' (possibly because of nullability attributes).
|
|
build:
Kontent.Ai.Delivery.Caching/MemoryCacheManager.cs#L29
Nullability of reference types in type of parameter 'shouldCache' of 'Task<T> MemoryCacheManager.GetOrAddAsync<T>(string key, Func<Task<T>> valueFactory, Func<T, bool> shouldCache = null, Func<T, IEnumerable<string>> dependenciesFactory = null)' doesn't match implicitly implemented member 'Task<T> IDeliveryCacheManager.GetOrAddAsync<T>(string key, Func<Task<T>> valueFactory, Func<T, bool>? shouldCache = null, Func<T, IEnumerable<string>>? dependenciesFactory = null)' (possibly because of nullability attributes).
|
|
build:
Kontent.Ai.Delivery.Caching/Factories/CacheManagerFactory.cs#L24
Cannot convert null literal to non-nullable reference type.
|
|
build:
Kontent.Ai.Delivery.Abstractions/ContentItems/RichText/Resolution/IHtmlResolver.cs#L137
Ambiguous reference in cref attribute: 'WithHtmlNodeResolver'. Assuming 'IHtmlResolverBuilder.WithHtmlNodeResolver(HtmlNodePredicate, BlockResolver<IHtmlNode>, string?)', but could have also matched other overloads including 'IHtmlResolverBuilder.WithHtmlNodeResolver(string, BlockResolver<IHtmlNode>)'.
|
|
build:
Kontent.Ai.Delivery.Abstractions/Configuration/DefaultRetryPolicyOptions.cs#L6
XML comment has cref attribute 'IRetryPolicy' that could not be resolved
|