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

Loading…
Cancel
Save