Skip to content

feat: update ToTask<T> #420

feat: update ToTask<T>

feat: update ToTask<T> #420

Triggered via push March 14, 2024 13:38
Status Success
Total duration 4m 42s
Artifacts

default.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/AttributeInterceptorResolver.cs#L19
Member 'WeihanLi.Common.Aspect.AttributeInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/DefaultProxyFactory.cs#L16
Member 'WeihanLi.Common.Aspect.DefaultProxyFactory.CreateProxy(Type, Object[])' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IProxyFactory.CreateProxy(Type, Object[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/DefaultProxyFactory.cs#L27
Member 'WeihanLi.Common.Aspect.DefaultProxyFactory.CreateProxy(Type, Type, params Object[])' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IProxyFactory.CreateProxy(Type, Type, params Object[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/DefaultProxyFactory.cs#L46
Member 'WeihanLi.Common.Aspect.DefaultProxyFactory.CreateProxyWithTarget(Type, Object, Object[])' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IProxyFactory.CreateProxyWithTarget(Type, Object, Object[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/DefaultProxyFactory.cs#L16
Member 'WeihanLi.Common.Aspect.DefaultProxyFactory.CreateProxy(Type, Object[])' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IProxyFactory.CreateProxy(Type, Object[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Services/Validator.cs#L29
Member 'WeihanLi.Common.Services.DataAnnotationValidator.Validate(Object)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Services.IValidator.Validate(Object)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Aspect/AttributeInterceptorResolver.cs#L19
Member 'WeihanLi.Common.Aspect.AttributeInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/Aspect/DefaultProxyFactory.cs#L16
Member 'WeihanLi.Common.Aspect.DefaultProxyFactory.CreateProxy(Type, Object[])' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Aspect.IProxyFactory.CreateProxy(Type, Object[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on windows-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on windows-latest: src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on windows-latest: src/WeihanLi.Common/DependencyResolver.cs#L61
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on windows-latest: src/WeihanLi.Common/DependencyResolver.cs#L91
'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the parameter 'serviceType' of method 'WeihanLi.Common.DependencyResolver.DefaultDependencyResolver.GetService(Type)' don't match overridden parameter 'serviceType' of method 'System.IServiceProvider.GetService(Type)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.