Browse Source

Fix DocumentationElement.IsTextNode for the root element.

newNRvisualizers
Daniel Grunwald 14 years ago
parent
commit
c180304f38
  1. 2
      ICSharpCode.NRefactory.Xml/DocumentationElement.cs

2
ICSharpCode.NRefactory.Xml/DocumentationElement.cs

@ -155,7 +155,7 @@ namespace ICSharpCode.NRefactory.Xml
/// Gets whether this is a pure text node. /// Gets whether this is a pure text node.
/// </summary> /// </summary>
public bool IsTextNode { public bool IsTextNode {
get { return element == null; } get { return xmlObject == null; }
} }
/// <summary> /// <summary>

Loading…
Cancel
Save