Here's the deal. If the documentation indicates that the instance methods are not protected threads, then it is best to take note. And if you decide to use the class in a multi-threaded script without proper synchronization mechanisms, then you need to 1) be aware of the consequences of ignoring the documentation and 2) prepare for all your assumptions in order to be invalid in future versions of the class.This advice is valid even for methods that, apparently only read the internal state.
, SelectNodes SelectSingleNodes ? , , ! Reflector, , , . , , ?
, , SelectNodes SelectSingleNodes , , , .
- XmlDocument , SelectNodes SelectSingleNode, ... -. XmlDocument, , , , , , , .
- XmlDocument , SelectNodes SelectSingleNodes . , , , . , .
... .