Skip to content

Commit f480d23

Browse files
committed
Update Consume.cs
1 parent 928bd44 commit f480d23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Consume/Consume.cs

+2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ class Consume
5454
type = typeof(RequiresUnreferencedCodeAttribute);
5555
type = typeof(UnconditionalSuppressMessageAttribute);
5656
type = typeof(CompilerFeatureRequiredAttribute);
57+
#if FeatureMemory
5758
type = typeof(CollectionBuilderAttribute);
59+
#endif
5860
//TODO:
5961
//type = typeof(AsyncMethodBuilderAttribute);
6062
type = typeof(ObsoletedOSPlatformAttribute);

0 commit comments

Comments
 (0)