-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support for ImmutableList<T> as the recursive collection #71
base: master
Are you sure you want to change the base?
Conversation
This is consistent with the Dev14 API for project trees.
ImmutableList`1.RemoveRange does not enumerate its argument when the list is empty. ImmutableSortedSet`1.Except *does* enumerate its argument even when the collection is empty. This difference in behavior caused a test failure when preparing ProjectTree to change to use ordered Children instead of sorted children. This change makes sure that every element in the argument is "realized" from the enumerable, and thus exceptions are reliably thrown.
Some of the tests that were modified are assertion 'current' behavior even though that behavior isn't desirable. For example, Ideally, |
Fixes #69