chore: Tracing Fix async Task Handler exception #1175
Annotations
10 errors and 10 warnings
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L48
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L73
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L105
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L134
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L165
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L48
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L73
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L105
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L134
No overload for method 'Around' takes 8 arguments
|
build:
libraries/tests/AWS.Lambda.Powertools.Tracing.Tests/TracingAspectTests.cs#L165
No overload for method 'Around' takes 8 arguments
|
build:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L283
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessor.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:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L294
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.BatchProcessorProvider.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:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L313
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandler.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:
libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L324
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.RecordHandlerProvider.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:
libraries/src/AWS.Lambda.Powertools.Idempotency/Persistence/BasePersistenceStore.cs#L326
'HashAlgorithm.Create(string)' is obsolete: 'Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.' (https://aka.ms/dotnet-warnings/SYSLIB0045)
|
build:
libraries/src/AWS.Lambda.Powertools.JMESPath/Values/StringValue.cs#L93
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
build:
libraries/src/AWS.Lambda.Powertools.JMESPath/Values/StringValue.cs#L93
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
build:
libraries/src/AWS.Lambda.Powertools.JMESPath/Values/DoubleValue.cs#L106
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|
build:
libraries/src/AWS.Lambda.Powertools.JMESPath/Values/DoubleValue.cs#L106
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
build:
libraries/src/AWS.Lambda.Powertools.JMESPath/Values/ObjectValue.cs#L165
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
|