IExpression.IsPure

Feb 2, 2010 at 5:05 PM

Why is IExpression.IsPure always false? I would think that expressions like CompileTimeConstants would be considered pure..

 

Regards,

Matthijs ter Woord

Coordinator
Mar 14, 2010 at 1:16 AM

IExpression.IsPure was introduced into the Code Model by mistake. While this information can be computed from the CodeModel, it seems unreasonable to make it an intrinsic part of the Code Model.

I have now removed the property. Thanks for bringing this to my attention.