You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, but this is by design. Every item meets the criteria. There just aren't any items.
Per the docs:
"true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false."
Description
I'm getting true for the zero size collection, using LINQ All to check that all items have a value
Reproduction Steps
Expected behavior
False
Actual behavior
True
Regression?
No response
Known Workarounds
No response
Configuration
.net8.0.404
Win10, x64
Other information
If I'm not mistaken, the same is in .net9
The text was updated successfully, but these errors were encountered: