Skip to content

Commit

Permalink
Reverted dotnet feature definition to continue to use FirstOrDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgrambo committed Sep 16, 2024
1 parent 60a858a commit cadc4d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private FeatureDefinition GetDotnetSchemaFeatureDefinition(string featureName)
IEnumerable<IConfigurationSection> dotnetFeatureDefinitionSections = GetDotnetFeatureDefinitionSections();

IConfigurationSection configuration = dotnetFeatureDefinitionSections
.LastOrDefault(section =>
.FirstOrDefault(section =>
string.Equals(section.Key, featureName, StringComparison.OrdinalIgnoreCase));

if (configuration == null)
Expand Down

0 comments on commit cadc4d2

Please sign in to comment.