XPathExpression class in multithreading environment

If you are using the XPathExpression class in a multithread environment, be careful!!! this class isn’t thread safe. To use it in multithread environment make sure clone the instance that you are using (with the Clone method) because for example it’s a static shared instance.
I hope this post help somebody for not becoming crazy looking for a bug like me!!! 😉

Leave a Reply