Update ITenantProvider.cs #578
Annotations
30 warnings
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:
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:
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:
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:
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/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.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:
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.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:
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/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 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:
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.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:
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/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.
|