This project is read-only.

Overwriting Equals and HashCode-Method

Oct 22, 2013 at 7:39 PM

Is it a problem to overwrite the equals and Hash-Method of a e MathExpression?
I need a unique Expression.

For example,
parser.Parse ( "e" ) == parser.Parse ( "e" ) // is true, but it shouldn't be

Oct 26, 2013 at 11:02 AM
MathParser saves the last expression. And if you try to parse same strings MathParser returns same objects.

I can add a public property to disable this ability.
Marked as answer by sys_27 on 10/26/2013 at 10:29 AM
Oct 26, 2013 at 6:09 PM

I solved it for me in my program.