Skip to content

Conversation

@gmarz
Copy link
Contributor

@gmarz gmarz commented May 24, 2016

The ToListOrNullIfEmpty() extension method called .Any() and .ToList()
which both evaluate the IEnumerable. This caused funcs to be executed
twice when applied to an IEnumerable<Func<>>.

Closes #2101

The ToListOrNullIfEmpty() extension method called .Any() and .ToList()
which both evaluate the IEnumerable.  This caused funcs to be executed
twice when applied to an IEnumerable<Func<>>.

Closes #2101
@gmarz gmarz merged commit 3ab0b58 into 2.x May 24, 2016
@gmarz gmarz deleted the fix/2101 branch May 24, 2016 20:51
@gmarz
Copy link
Contributor Author

gmarz commented May 24, 2016

Merged to 2.x and cherry picked to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants