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

Add OrderedDictionary #103309

Merged
merged 7 commits into from
Jun 14, 2024
Merged

Add OrderedDictionary #103309

merged 7 commits into from
Jun 14, 2024

Commits on Jun 13, 2024

  1. Add OrderedDictionary

    stephentoub committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a3f12a1 View commit details
    Browse the repository at this point in the history
  2. Open-code collection data structure rather than using Dictionary+List

    This rewrites the core of the type to be based on a custom data structure rather than wrapping Dictionary and List. The core structure is based on both Dictionary in corelib and the OrderedDictionary prototype in corefxlab.
    
    This also adds missing TryAdd, Capacity, EnsureCapacity, and TrimExcess members for parity with Dictionary, and fixes debugger views for the Key/ValueCollections.
    stephentoub committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a4dca87 View commit details
    Browse the repository at this point in the history
  3. Address PR feedback

    stephentoub committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    bfdee8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    737bad1 View commit details
    Browse the repository at this point in the history
  5. Address PR feedback

    stephentoub committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c199c73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b85e16d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aacd413 View commit details
    Browse the repository at this point in the history