sample: sample updates #598
Annotations
10 warnings
build:
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.
|
build:
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.
|
build:
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.
|
build:
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.
|
build:
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.
|
build:
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.
|
build:
src/WeihanLi.Common/Event/EventSubscriptionManager.cs#L74
Member 'WeihanLi.Common.Event.DependencyInjectionEventSubscriptionManager.GetEventHandlers(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventSubscriptionManager.GetEventHandlers(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
|
build:
src/WeihanLi.Common/Event/EventSubscriptionManager.cs#L74
Member 'WeihanLi.Common.Event.DependencyInjectionEventSubscriptionManager.GetEventHandlers(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'WeihanLi.Common.Event.IEventSubscriptionManager.GetEventHandlers(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
build:
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.
|
build:
src/WeihanLi.Common/Helpers/NewFuncHelper.cs#L13
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Linq.Expressions.Expression.New(Type)'. The generic parameter 'T' of 'WeihanLi.Common.Helpers.NewFuncHelper<T>' 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.
|
Loading