From 2974af83c6674f850a880a692ad0b16fe625b317 Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Sat, 26 Dec 2015 19:54:25 -0600 Subject: [PATCH] Remove unused MiniYaml methods From(Dictionary|List) --- OpenRA.Game/MiniYaml.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/OpenRA.Game/MiniYaml.cs b/OpenRA.Game/MiniYaml.cs index ed7034ed53..fca98a28a4 100644 --- a/OpenRA.Game/MiniYaml.cs +++ b/OpenRA.Game/MiniYaml.cs @@ -128,16 +128,6 @@ namespace OpenRA Nodes = nodes ?? new List(); } - public static MiniYaml FromDictionary(Dictionary dict) - { - return new MiniYaml(null, dict.Select(x => new MiniYamlNode(x.Key.ToString(), new MiniYaml(x.Value.ToString()))).ToList()); - } - - public static MiniYaml FromList(List list) - { - return new MiniYaml(null, list.Select(x => new MiniYamlNode(x.ToString(), new MiniYaml(null))).ToList()); - } - public static List NodesOrEmpty(MiniYaml y, string s) { var nd = y.ToDictionary();