Skip to content
Discussion options

You must be logged in to vote

Another potentially more appealing fix is to insert .AsEnumerable() before .SequenceEqual. I created a (closed-source) analyzer and code fix to catch it any time a span-based method is called inside an IQueryable context and to suggest .AsEnumerable() as the fix when that fix is possible.

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
5 replies
@koszeggy
Comment options

@jjonescz
Comment options

@koszeggy
Comment options

@jjonescz
Comment options

@koszeggy
Comment options

Comment options

You must be logged in to vote
3 replies
@koszeggy
Comment options

@jnm2
Comment options

jnm2 Nov 26, 2025
Collaborator

@jnm2
Comment options

jnm2 Nov 26, 2025
Collaborator

Answer selected by koszeggy
Comment options

You must be logged in to vote
5 replies
@jjonescz
Comment options

@TahirAhmadov
Comment options

@yaakov-h
Comment options

@jjonescz
Comment options

@TahirAhmadov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants