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

Fix SortedList<T>.IndexOf(T) returning a valid value for an item not contained by it, instead of -1. #980

Merged
merged 8 commits into from Aug 18, 2017

Conversation

smoogipoo
Copy link
Contributor

No description provided.

@peppy peppy merged commit 825505e into ppy:master Aug 18, 2017
@@ -276,7 +277,7 @@ protected internal void ClearInternal(bool disposeChildren = true)
/// Used to assign a monotonically increasing ID to children as they are added. This member is
/// incremented whenever a child is added.
/// </summary>
private ulong currentChildID;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

var newContainer = new Container<Container> { Children = new[] { containerA, containerB } };

// Because drawableA and drawableB have been added to separate containers,
// they will both have Depth = 0 and ChildID = 1, which leads to edge cases if a

This comment was marked as off-topic.

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.

None yet

3 participants