Skip to content

Commit 2c3f2fe

Browse files
committed
Simplify collection initialization
1 parent 17ee0cc commit 2c3f2fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Npgsql/NpgsqlConnectionStringBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ bool LoadConfigurationFromIniFile(string? filePath)
18571857
// Check whether it is the specified service
18581858
if (sectionPrefix == Service)
18591859
{
1860-
settings = new Dictionary<string, string>();
1860+
settings = [];
18611861
}
18621862

18631863
continue;

0 commit comments

Comments
 (0)