Skip to content

Commit

Permalink
Update src/Hosting/Hosting/src/Internal/StartupLoader.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
  • Loading branch information
JamesNK and eerhardt committed Jan 3, 2023
1 parent 20dd7af commit 7b9537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hosting/Hosting/src/Internal/StartupLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static StartupMethods LoadMethods(IServiceProvider hostingServiceProvider
return new StartupMethods(instance, configureMethod.Build(instance), builder.Build());

[return: DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.",
[UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode",
Justification = "There is a runtime check for ValueType startup container. It's unlikely anyone will use a ValueType here.")]
static Type CreateConfigureServicesDelegateBuilder(Type type)
{
Expand Down

0 comments on commit 7b9537f

Please sign in to comment.