Skip to content

Commit b9e9a15

Browse files
nhart12Nathan Hart
authored andcommitted
Removing newer c# syntax
1 parent beeed45 commit b9e9a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static class SqlDataTypes
5555
/// <summary>
5656
/// SQL column types for supported strings
5757
/// </summary>
58-
public static readonly ReadOnlyCollection<SqlDbType> VariableCharacterColumnTypes = new(new[] {
58+
public static readonly ReadOnlyCollection<SqlDbType> VariableCharacterColumnTypes = new ReadOnlyCollection<SqlDbType>(new List<SqlDbType> {
5959
SqlDbType.NVarChar,
6060
SqlDbType.VarChar
6161
});

0 commit comments

Comments
 (0)