Skip to content

String dictionary needs to specify StringComparer #1016

@sokunna

Description

@sokunna

We need an analyzer to enforce any dictionary with a string key to explictly specify a StringComparer.
e.g. new Dictionary<string, Guid>(StringComparer.OrdinalIgnoreCase)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions