Skip to content

Commit 0100942

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hosting/Hosting/src/GenericHost/GenericWebHostBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ private void UseStartup([DynamicallyAccessedMembers(StartupLinkerOptions.Accessi
335335
};
336336
});
337337

338-
[UnconditionalSuppressMessage("AOT", "IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.",
338+
[UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode",
339339
Justification = "There is a runtime check for ValueType startup container. It's unlikely anyone will use a ValueType here.")]
340340
static void InvokeContainer(GenericWebHostBuilder genericWebHostBuilder, ConfigureContainerBuilder configureContainerBuilder)
341341
{

0 commit comments

Comments
 (0)