Skip to content

Phase 2d: Continued propagation of attributes. #67

Phase 2d: Continued propagation of attributes.

Phase 2d: Continued propagation of attributes. #67

Triggered via push June 19, 2026 17:23
Status Failure
Total duration 1m 54s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 11 warnings
ci / build: src/Autofac/Util/InternalTypeExtensions.cs#L22
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/Builder/RegistrationExtensions.cs#L96
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/Builder/RegistrationExtensions.cs#L75
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/Builder/RegistrationExtensions.cs#L54
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/Builder/RegistrationExtensions.cs#L30
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/TypeExtensions.cs#L190
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/TypeExtensions.cs#L158
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/TypeExtensions.cs#L136
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/TypeExtensions.cs#L113
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / build: src/Autofac/Util/ActivatorMemberTypes.cs#L44
Mark enum 'DynamicallyAccessedMemberTypes' with 'Flags' attribute or remove this bitwise operation.
ci / dotnet-format
Process completed with exit code 2.
ci / pre-commit
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ci / dotnet-format: src/Autofac/RegistrationExtensions.Decorators.cs#L309
'implementer' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'Autofac.Features.OpenGenerics.OpenGenericRegistrationExtensions.CreateGenericBuilder(Type)'. The parameter 'decoratorType' of method 'Autofac.RegistrationExtensions.RegisterGenericDecorator(ContainerBuilder, Type, Type, Func<IDecoratorContext, Boolean>)' 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.
ci / dotnet-format: src/Autofac/RegistrationExtensions.Decorators.cs#L181
'implementationType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'Autofac.Builder.RegistrationBuilder.ForType(Type)'. The parameter 'decoratorType' of method 'Autofac.RegistrationExtensions.RegisterDecorator(ContainerBuilder, Type, Type, Func<IDecoratorContext, Boolean>)' 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.
ci / dotnet-format: src/Autofac/RegistrationExtensions.Decorators.cs#L138
'TImplementer' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'Autofac.Builder.RegistrationBuilder.ForType<TImplementer>()'. The generic parameter 'TDecorator' of 'Autofac.RegistrationExtensions.RegisterDecorator<TDecorator, TService>(ContainerBuilder, Func<IDecoratorContext, Boolean>)' 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.
ci / dotnet-format: src/Autofac/RegistrationExtensions.cs#L416
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'Autofac.TypeExtensions.GetMatchingConstructor(Type, Type[])'. The return value of method 'Autofac.Builder.ReflectionActivatorData.ImplementationType.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.
ci / dotnet-format: src/Autofac/RegistrationExtensions.cs#L272
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties(Type)'. The generic parameter 'TAttribute' of 'Autofac.RegistrationExtensions.WithMetadataFrom<TAttribute>(IRegistrationBuilder<Object, ScanningActivatorData, DynamicRegistrationStyle>)' 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.
ci / dotnet-format: src/Autofac/RegistrationExtensions.Composite.cs#L173
Using member 'Autofac.RegistrationExtensions.RegisterGeneric(ContainerBuilder, Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Registering open generic types constructs closed generic types at runtime via MakeGenericType, which may require dynamic code generation when closed over value types and is not compatible with native AOT.
ci / dotnet-format: src/Autofac/RegistrationExtensions.Composite.cs#L173
'implementer' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'Autofac.RegistrationExtensions.RegisterGeneric(ContainerBuilder, Type)'. The parameter 'compositeType' of method 'Autofac.RegistrationExtensions.RegisterGenericComposite(ContainerBuilder, 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.
ci / dotnet-format: src/Autofac/Util/InternalTypeExtensions.cs#L290
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'Autofac.Util.InternalTypeExtensions.IsOpenGenericTypeOf(Type, Type)'. The return value of method 'System.Type.GetGenericTypeDefinition()' 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.
ci / dotnet-format: src/Autofac/Util/InternalTypeExtensions.cs#L282
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'Autofac.Util.InternalTypeExtensions.IsOpenGenericTypeOf(Type, Type)'. The return value of method 'System.Type.GetGenericTypeDefinition()' 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.
ci / dotnet-format: src/Autofac/ModuleRegistrationExtensions.cs#L165
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.