Version 3.0.1
Hotfix for a bug on frameworks that restrict access to internal framework types, such as WP 8.1.
The cause was an Expression.Constant
taking a Type
argument. To determine its type, the framework calls GetType()
on it. Since Type
is abstract, GetType
returned typeof( System.RuntimeType )
, the implementing type, which is internal. Thus the expression attempted to access an internal framework type, which crashed on platforms that do not allow it.