-
|
If I'm not mistaken, the First-Class Span Types feature is the culprit of a breaking change in my unit tests, causing a nasty I already refactored my code using some C# 14.0 features (e.g. unbound generic types), so I can't downgrade the Disclaimer:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
|
No, there is no way to opt out of language features. |
Beta Was this translation helpful? Give feedback.
-
|
Another potentially more appealing fix is to insert |
Beta Was this translation helpful? Give feedback.
-
|
I've had a similar issue - the few places where I call |
Beta Was this translation helpful? Give feedback.
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.