Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: Where() don't init to default value #706

Merged
merged 1 commit into from
Jun 28, 2018

Conversation

akarnokd
Copy link
Collaborator

There is no reason to initialize the index to its default value. Also default(bool) was too elegant for me and I simply replaced them with var shouldRun = false.

@akarnokd akarnokd closed this Jun 28, 2018
@akarnokd akarnokd reopened this Jun 28, 2018
@danielcweber danielcweber merged commit 6450e1a into dotnet:master Jun 28, 2018
@akarnokd akarnokd deleted the WhereCleanup branch June 28, 2018 16:41
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