Open
Description
There are a bunch of IL-related diagnostic warnings showing up in the build output for Microsoft.AspNetCore.Identity and Microsoft.AspNetCore.OpenApi but they aren't being reported as an error; they just show up as a message.
Microsoft.AspNetCore.Identity.csproj
CoreCompile
Csc
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(57,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(57,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(90,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(90,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(122,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(122,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(142,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(142,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(193,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(193,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(206,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(206,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(225,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(225,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(260,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(260,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(336,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(336,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(348,9): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\Identity\Core\src\IdentityApiEndpointRouteBuilderExtensions.cs(348,9): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
Microsoft.AspNetCore.OpenApi.csproj
CoreCompile
Csc
D:\a\_work\1\s\src\aspnetcore\src\OpenApi\src\Extensions\OpenApiEndpointRouteBuilderExtensions.cs(31,16): info SP0001: Diagnostic 'IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS001' and justification 'The target method has been intercepted by a statically generated variant.'
D:\a\_work\1\s\src\aspnetcore\src\OpenApi\src\Extensions\OpenApiEndpointRouteBuilderExtensions.cs(31,16): info SP0001: Diagnostic 'IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications.' was programmatically suppressed by a DiagnosticSuppressor with suppression ID 'RDGS002' and justification 'The target method has been intercepted by a statically generated variant.'
I know there are a bunch of other suppressions of these warnings in the code (example) but apparently not for these violations.
This was discovered as part of my changes in dotnet/dotnet#400 which, for some reason, cause these to be reported as errors:
Microsoft.AspNetCore.Identity.csproj
CoreCompile
Csc
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(57,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(57,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(90,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(90,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(122,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(122,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(142,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(142,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(193,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(193,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(206,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(206,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(225,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(225,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(260,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(260,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(336,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(336,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapGet(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(348,9): error IL2026: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]
/__w/1/s/src/aspnetcore/src/Identity/Core/src/IdentityApiEndpointRouteBuilderExtensions.cs(348,9): error IL3050: Using member 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapPost(IEndpointRouteBuilder, String, Delegate)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This API may perform reflection on the supplied delegate and its parameters. These types may require generated code and aren't compatible with native AOT applications. [/__w/1/s/src/aspnetcore/src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj]