* [bcl] Build some assemblies with -warnaserror
This ensures that we keep the build warning free.
We'll only opt-in a few assemblies that already have zero warnings.
We also only apply this when using csc as mcs might raise different warnings.
For now just opt-in assemblies in the net_4_x profile.
It is not simply replacement because we have to workaround dynamic codegen
for Xamarin.iOS.
Also there were several tests failing with MS implementation (e.g. for
W3C DOM conformance), so we had to disable them.
There is one regression that rather needs to be fixed in Reflection.Emit.
Also, some WCF tests fail with this implementation. They need to be
investigated, reviewed and appropriately fixed.
* XmlReader.cs : new 2.0 MoveToAttribute(int) failed to move to the
final attribute in an element.
* XPathNavigatorReaderTests.cs : added test for MoveToAttribute(int).
svn path=/trunk/mcs/; revision=69026
* XPathNavigator.cs :
- ReadSubtree() should reject everything but Element or Root.
- InnerXml and OuterXml should not use ReadSubtree() when it is
not positioned on an Element or the Root. Thus, implement them
in their own ways. Fixed bug #79875.
* XPathNavigatorTests.cs : added test for bug #79875, and some
"escaped" text tests for InnerXml.
* XPathNavigatorReaderTests.cs : make sure that most of XPath nodes
are rejected to read subtree.
svn path=/trunk/mcs/; revision=67659
* XPathNavigatorReader.cs : MoveToFirstAttribute() should return
true when current node is an attribute (including namespace node).
* XPathNavigatorReaderTests.cs : added test for MoveToFirstAttribute()
which is called from several current nodes.
svn path=/trunk/mcs/; revision=64720
* XPathNavigatorCommonTests.cs : added test for bug #78067.
* XPathNavigatorReaderTests.cs : ditto, for ReadSubtree() part.
* XPathNavigatorReader.cs : Read() did not compute Depth correctly.
It caused bug #78067.
* XPathNavigator.cs : get_OuterXml() returns indented output, without
XML declaration.
* XmlWriter.cs : WriteNode(XPathNavigator) : directly write element
and root nodes instead of dispatching to ReadSubtree().
svn path=/trunk/mcs/; revision=59286
* XPathNavigator.cs : Added MonoTODO to CreateAttributes(). Removed
MonoTODO from ReadSubtree().
* XPathNavigatorReaderTests.cs : Actually AttributesAndNamespaces()
does not work under MS.NET.
svn path=/trunk/mcs/; revision=54366
* XPathNavigatorReader.cs : several fixes.
- Unless ReadState is Interactive, all name stuff should return "".
- Refactored Read() to work fine when input navigator is Root.
- Fixed all MoveTo*Attribute() methods match with other XmlReaders.
- Namespace nodes were not handled fine in MoveTo*Attribute().
* XPathNavigatorReaderTests.cs : new file for testing ReadSubtree()
and all dependent members.
* System.Xml_test.dll.sources: Added XPathNavigatorReaderTests.cs.
svn path=/trunk/mcs/; revision=54364