afscrome / IronVelocity

A wrapper around NVelocity (a port of Apache Velocity) using the DLR to provide higher performance template execution.
MIT License
6 stars 1 forks source link

Review uses of RuntimeType #59

Closed afscrome closed 8 years ago

afscrome commented 8 years ago

Many uses of DynamicMetaObject.RuntimeType should be replaced by DynamicMetaObject.LimitType to prevent null references. IF code requires that the dynamic metaobject has a value, it should explicitly check the HasValue property.