/// <summary> /// Adds the <paramref name="node"/> as a subnode to this <see cref="DictionaryNode"/>. /// </summary> /// <param name="node"></param> /// public void AddDictionaryNodeRef(string key, DictionaryNode node, bool fastWrite = false) { if (!_byamlNodeWriter._nameSet.Contains(key)) { _byamlNodeWriter._nameSet.Add(key); } _entries.Add((key, new Entry(ByamlNodeType.Dictionary, node.Submit(fastWrite)))); }