Skip to content

Commit aaefdc4

Browse files
JamesNKeerhardt
andauthored
Update src/Hosting/Hosting/src/Internal/StartupLoader.cs
Co-authored-by: Eric Erhardt <[email protected]>
1 parent 0100942 commit aaefdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hosting/Hosting/src/Internal/StartupLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static StartupMethods LoadMethods(IServiceProvider hostingServiceProvider
6464
return new StartupMethods(instance, configureMethod.Build(instance), builder.Build());
6565

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

0 commit comments

Comments
 (0)