Skip to content

refactor: cleanup symbol condition #586

refactor: cleanup symbol condition

refactor: cleanup symbol condition #586

Triggered via push December 10, 2024 16:01
Status Success
Total duration 3m 47s
Artifacts

default.yml

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

Annotations

31 warnings
Running tests on macOS-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on macOS-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on macOS-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on macOS-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on macOS-latest: src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs#L11
Interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'WeihanLi.Common.Aspect.FluentConfigInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' 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 '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/DependencyResolver.cs#L62
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on macOS-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
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 macOS-latest: src/WeihanLi.Common/DependencyResolver.cs#L92
'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.
Running tests on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Running tests on ubuntu-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on ubuntu-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on ubuntu-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on ubuntu-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on ubuntu-latest: src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs#L11
Interface member 'WeihanLi.Common.Aspect.IInterceptorResolver.ResolveInterceptors(IInvocation)' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'WeihanLi.Common.Aspect.FluentConfigInterceptorResolver.ResolveInterceptors(IInvocation)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-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 ubuntu-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 ubuntu-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on ubuntu-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
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 ubuntu-latest: src/WeihanLi.Common/DependencyResolver.cs#L92
'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.
Running tests on windows-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on windows-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on windows-latest: samples/DotNetCoreSample/DataExtensionTest.cs#L39
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
Running tests on windows-latest: samples/DotNetCoreSample/RepositoryTest.cs#L69
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
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#L62
Member 'WeihanLi.Common.DependencyResolver.ServiceProviderDependencyResolver.GetServices(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.IDependencyResolver.GetServices(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
Running tests on windows-latest: src/WeihanLi.Common/DependencyResolver.cs#L62
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#L92
'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.
Running tests on windows-latest: src/WeihanLi.Common/Event/EventHandlerFactory.cs#L13
Member 'WeihanLi.Common.Event.DefaultEventHandlerFactory.GetHandlers(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventHandlerFactory.GetHandlers(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.