Skip to content

Commit 82bd5da

Browse files
committed
Made a filed read only.
1 parent 79e4041 commit 82bd5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlColumn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class SqlColumn
1313
private SqlDbType _dataType = SqlDbType.VarChar; // backwards-compatibility default
1414
private string _columnName = string.Empty;
1515
private string _propertyName;
16-
private List<string> _propertyNameHierarchy = new List<string>();
16+
private readonly List<string> _propertyNameHierarchy = new List<string>();
1717

1818
/// <summary>
1919
/// Default constructor.

0 commit comments

Comments
 (0)