Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
[mono.git] / mcs / class / System.XML / System.Xml / XmlLinkedNode.cs
1 using System;
2
3 namespace System.Xml
4 {
5         public abstract class XmlLinkedNode : XmlNode
6         {
7                 #region Fields
8                 XmlLinkedNode nextSibling;
9
10                 #endregion
11
12                 #region Constructors
13                 protected internal XmlLinkedNode(XmlDocument doc) : base(doc) { }
14
15                 #endregion
16
17                 #region Properties              
18                 public override XmlNode NextSibling
19                 {
20                         get {
21                                 if (Object.ReferenceEquals(nextSibling, ParentNode.LastLinkedChild.NextLinkedSibling) == false) {
22                                         return nextSibling;
23                                 }
24                                 else {
25                                         return null;
26                                 }
27                         }
28                 }
29
30                 internal XmlLinkedNode NextLinkedSibling
31                 {
32                         get { return nextSibling; }
33                         set { nextSibling = value; }
34                 }
35
36                 [MonoTODO]
37                 public override XmlNode PreviousSibling
38                 {
39                         get {
40                                 throw new NotImplementedException ();
41                         }
42                 }
43
44                 #endregion
45         }
46 }