From 2959577163c0a9c102f4a3bbf24e18fd9009c482 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 22 Apr 2019 09:08:24 -0400 Subject: [PATCH] children default is empty list --- src/Core/Models/Domain/TreeNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Models/Domain/TreeNode.cs b/src/Core/Models/Domain/TreeNode.cs index cd0be31d5..524b81e63 100644 --- a/src/Core/Models/Domain/TreeNode.cs +++ b/src/Core/Models/Domain/TreeNode.cs @@ -6,7 +6,7 @@ namespace Bit.Core.Models.Domain { public T Parent { get; set; } public T Node { get; set; } - public List> Children { get; set; } + public List> Children { get; set; } = new List>(); public TreeNode(T node, string name, T parent) {