[WCF] XmlReader from GetReaderAtBodyContents() should not be missing xmlns-es.
commitd2cdee078dbcd25cc65aafd6e591a23020c8e7ba
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 20 Apr 2015 07:07:42 +0000 (20 16:07 +0900)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 24 Apr 2015 05:36:58 +0000 (24 14:36 +0900)
tree9337fe4b251d7c74f975b16ee2fcea64a7dabad3
parentb96232d37a82eb6ca90a0fb269090e1995552a82
[WCF] XmlReader from GetReaderAtBodyContents() should not be missing xmlns-es.

The namespace declarations existed when the entire Message is read but not
in the partial body contents. They caused regressions when we use
serialization stack from referencesource.

It is possible that more namespaces may be requied, but we will be importing
System.ServiceModel later on and then the issue will go away.
So far we don't want regression as long as they show up in our NUnit tests.
mcs/class/System.ServiceModel/System.ServiceModel.Channels/Message.cs