aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Configuration.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-05 15:47:33 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-05 15:47:33 +0100
commit49346012274739fd39745f9e035ee8853149bc73 (patch)
treeb8757165c6b31a6d08b7caad2118ed76f463c287 /src/Configuration.cs
parent9c0f77e860a1852ee7de381a82118e6d8c7fb819 (diff)
parent40b16003066ad42604fd82dc0eec9cfa0a4abeca (diff)
Merge branch 'master' into CrowIDE
Diffstat (limited to 'src/Configuration.cs')
-rw-r--r--src/Configuration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Configuration.cs b/src/Configuration.cs
index af52eed4..5e035f14 100644
--- a/src/Configuration.cs
+++ b/src/Configuration.cs
@@ -53,7 +53,7 @@ namespace Crow
if (!items.ContainsKey (key))
return default(T);
Type type = typeof(T);
- MethodInfo miParse = type.GetMethod ("Parse", BindingFlags.Static);
+ MethodInfo miParse = type.GetMethod ("Parse", new Type[] {typeof(string)});
if (miParse == null)
return (T)Convert.ChangeType (items [key], typeof(T));