Skip to content

Extra test should be added for Dictionary #25737

@benaadams

Description

@benaadams

This code should work

var d = new Dictionary<string,string>();
d.Add("a", "b");
d.Add("c", "d");
foreach (var e in d)
{
    if (d.Remove(e.Key + "Sibling")) break;
}

From dotnet/coreclr#17196 (comment)

/cc @danmosemsft Just so it doesn't fall off the radar

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions