Skip to content

1.0.69

1.0.69 #511

Triggered via pull request August 24, 2024 09:04
@WeihanLiWeihanLi
opened #216
dev
Status Success
Total duration 3m 59s
Artifacts

default.yml

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

Annotations

30 warnings
Running tests on macOS-latest: src/WeihanLi.Common.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on macOS-latest: src/WeihanLi.Common.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L64
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L89
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on macOS-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L107
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
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: src/WeihanLi.Common.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on ubuntu-latest: src/WeihanLi.Common.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L64
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L89
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L107
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
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#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: 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.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on windows-latest: src/WeihanLi.Common.Logging.Serilog/SerilogLogger.cs#L42
Nullability in constraints for type parameter 'TState' of method 'SerilogLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L64
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L89
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
Running tests on windows-latest: src/WeihanLi.Common/Helpers/PeriodBatching/PortableTimer.cs#L107
A value of type 'System.Threading.Lock' converted to a different type will use likely unintended monitor-based locking in 'lock' statement.
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.