Skip to content
Discussion options

You must be logged in to vote

The limitation is from compiled assembly encoding, not the compile-time constant check. Currently, no collection type can be encoded in constants.

However for attributes we can encode array. Collection expressions may be permitted there.

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by just-ero
Comment options

You must be logged in to vote
2 replies
@jnm2
Comment options

jnm2 Aug 23, 2023
Collaborator

@HaloFour
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@just-ero
Comment options

@jnm2
Comment options

jnm2 Aug 24, 2023
Collaborator

Comment options

You must be logged in to vote
1 reply
@jnm2
Comment options

jnm2 Sep 21, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants