diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs b/main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs index f99b35e28f..17c6c2f12f 100644 --- a/main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs +++ b/main/src/addins/MonoDevelop.MacDev/MonoDevelop.MacDev.PlistEditor/PListScheme.cs @@ -127,13 +127,13 @@ namespace MonoDevelop.MacDev.PlistEditor return keys.FirstOrDefault (k => k.Identifier == id); } - public static IList<SchemaItem> AvailableValues (PObject obj, SchemaItem key, Dictionary<PObject, SchemaItem> tree) + public static List<SchemaItem> AvailableValues (PObject obj, SchemaItem key, Dictionary<PObject, SchemaItem> tree) { if (obj is PBoolean) - return new [] { BooleanYes, BooleanNo }; + return new List<SchemaItem> { BooleanYes, BooleanNo }; if (key == null) - return new SchemaItem [0]; + return null; var values = key.Values.Cast<PListScheme.SchemaItem> ().ToList (); |