From b9e9a1569919af3b7430e98aea9b754c331f7e8d Mon Sep 17 00:00:00 2001 From: Nathan Hart Date: Sat, 18 Nov 2023 19:30:01 -0500 Subject: [PATCH] Removing newer c# syntax --- src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs b/src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs index 4a63c538..f05cf46f 100644 --- a/src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs +++ b/src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlDataTypes.cs @@ -55,7 +55,7 @@ public static class SqlDataTypes /// /// SQL column types for supported strings /// - public static readonly ReadOnlyCollection VariableCharacterColumnTypes = new(new[] { + public static readonly ReadOnlyCollection VariableCharacterColumnTypes = new ReadOnlyCollection(new List { SqlDbType.NVarChar, SqlDbType.VarChar });