Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix netcore error
  • Loading branch information
maxkoshevoi committed Oct 13, 2021
commit 334308d0c8d18edee8e5851ba9fefacf1d40e4b8
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ public IniStreamConfigurationProvider(IniStreamConfigurationSource source) : bas
if (line[0] == '[' && line[line.Length - 1] == ']')
{
// remove the brackets
#if NETCOREAPP
sectionPrefix = string.Concat(line.AsSpan(1, line.Length - 2), ConfigurationPath.KeyDelimiter);
#else
sectionPrefix = line.Substring(1, line.Length - 2) + ConfigurationPath.KeyDelimiter;
#endif
continue;
}

Expand Down