提交 518a2299 编写于 作者: C CyrusNajmabadi

Don't allow a null dictionary to be stored.

上级 ea338caa
......@@ -86,7 +86,7 @@ internal abstract partial class DefinitionItem
NameDisplayParts = nameDisplayParts.IsDefaultOrEmpty ? displayParts : nameDisplayParts;
OriginationParts = originationParts.NullToEmpty();
SourceSpans = sourceSpans.NullToEmpty();
Properties = properties;
Properties = properties ?? ImmutableDictionary<string, string>.Empty;
DisplayIfNoReferences = displayIfNoReferences;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册