dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.82k stars 4.61k forks source link

Duplicates in different config sources are treated differently #36557

Open ajcvickers opened 5 years ago

ajcvickers commented 5 years ago

See https://github.com/aspnet/Extensions/pull/600

Specifically, duplicates within a given source. For example, the same setting repeated twice in an .ini file.

These providers throw either ArgumentException or FormatException:

These providers ignore duplicates if the case does match:

These providers ignore duplicates if the case does not match:

These providers ignore duplicates:

ajcvickers commented 5 years ago

See:

ajcvickers commented 5 years ago

Notes from triage:

maryamariyan commented 3 years ago

This issue seems to have a dupe. I will link once I find it.