refactor: update ValueTask usage #323
Annotations
10 warnings
build:
src/WeihanLi.Common/Extensions/TypeExtension.cs#L105
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructors()'. The parameter 'type' of method 'WeihanLi.Extensions.TypeExtension.GetEmptyConstructor(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/TypeExtension.cs#L141
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructors()'. The parameter 'type' of method 'WeihanLi.Extensions.TypeExtension.GetMatchingConstructor(Type, Type[])' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/TypeExtension.cs#L155
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Reflection.TypeInfo.ImplementedInterfaces.get'. The parameter 'type' of method 'WeihanLi.Extensions.TypeExtension.GetImplementedInterfaces(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L67
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L78
'implementationType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceDescriptor(Type, Type, ServiceLifetime)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L145
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L160
'implementationType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceDescriptor(Type, Type, ServiceLifetime)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L193
'implementationType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceDescriptor(Type, Type, ServiceLifetime)'. The parameter 'type' of method 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtension.RegisterTypeAsImplementedInterfaces(IServiceCollection, Type, Func<Type, Boolean>, ServiceLifetime)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L227
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
|
build:
src/WeihanLi.Common/Extensions/ServiceCollectionExtension.cs#L233
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
The logs for this run have expired and are no longer available.
Loading