Ver Fonte

2005-11-07 Atsushi Enomoto <[email protected]>

	* XPathNavigator.cs, XPathNodeIterator.cs : DebuggerDisplayAttribute
	  values are fixed. However, they totally do not make sense since
	  there is no DebuggerDisplayProxy type in our impl.


svn path=/trunk/mcs/; revision=52661
Atsushi Eno há 20 anos atrás
pai
commit
ac246c83b7

+ 6 - 0
mcs/class/System.XML/System.Xml.XPath/ChangeLog

@@ -1,3 +1,9 @@
+2005-11-07  Atsushi Enomoto <[email protected]>
+
+	* XPathNavigator.cs, XPathNodeIterator.cs : DebuggerDisplayAttribute
+	  values are fixed. However, they totally do not make sense since
+	  there is no DebuggerDisplayProxy type in our impl.
+
 2005-11-07  Atsushi Enomoto <[email protected]>
 
 	* XPathException.cs : Message property is back in 2.0 RTM.

+ 1 - 1
mcs/class/System.XML/System.Xml.XPath/XPathNavigator.cs

@@ -50,7 +50,7 @@ using NSResolver = System.Xml.XmlNamespaceManager;
 namespace System.Xml.XPath
 {
 #if NET_2_0
-	[DebuggerDisplay ("Name")]
+	[DebuggerDisplay ("{new DebuggerDisplayProxy(this)}")]
 	public abstract class XPathNavigator : XPathItem,
 		ICloneable, IXPathNavigable, IXmlNamespaceResolver
 #else

+ 1 - 1
mcs/class/System.XML/System.Xml.XPath/XPathNodeIterator.cs

@@ -37,7 +37,7 @@ using System.Diagnostics;
 namespace System.Xml.XPath
 {
 #if NET_2_0
-	[DebuggerDisplay ("Current")]
+	[DebuggerDisplay ("Position={CurrentPosition}, Current={Current == null ? null : (object) new XPathNavigator.DebuggerDisplayProxy(Current)}")]
 	public abstract class XPathNodeIterator : ICloneable, IEnumerable
 #else
 	public abstract class XPathNodeIterator : ICloneable