aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Configuration.cs
diff options
context:
space:
mode:
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));