public DotWriter(Stream stream) { keyToNode = new Dictionary<string, string>(StringComparer.Ordinal); writer = new StreamWriter(stream); }