Commit 0f3cec94 authored by danzel's avatar danzel

Fix broken properties cache.

parent bc39863e
...@@ -63,7 +63,7 @@ private static IEnumerable<PropertyInfo> TypePropertiesCache(Type type) ...@@ -63,7 +63,7 @@ private static IEnumerable<PropertyInfo> TypePropertiesCache(Type type)
return pis; return pis;
} }
var properties = type.GetProperties().Where(IsWriteable); var properties = type.GetProperties().Where(IsWriteable).ToArray();
TypeProperties[type.TypeHandle] = properties; TypeProperties[type.TypeHandle] = properties;
return properties; return properties;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment