Skip to content

Commit 672aae0

Browse files
committed
Another suppression
1 parent 1ce3bde commit 672aae0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Routing/src/Matching/JumpTableBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public static JumpTable Build(int defaultDestination, int exitDestination, (stri
8888
// Use the ILEmitTrieJumpTable if the IL is going to be compiled (not interpreted)
8989
return MakeILEmitTrieJumpTableIfSupported(defaultDestination, exitDestination, pathEntries, fallback);
9090

91+
[UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode", Justification = "Guarded by RuntimeFeature.IsDynamicCodeSupported")]
9192
static JumpTable MakeILEmitTrieJumpTableIfSupported(int defaultDestination, int exitDestination, (string text, int destination)[] pathEntries, JumpTable fallback)
9293
{
9394
// ILEmitTrieJumpTable use IL emit to generate a custom, high-performance jump table.

0 commit comments

Comments
 (0)