Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlLinkedNode.cs')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlLinkedNode.cs66
1 files changed, 0 insertions, 66 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlLinkedNode.cs b/mcs/class/System.XML/System.Xml/XmlLinkedNode.cs
deleted file mode 100644
index 090bedcf6b9..00000000000
--- a/mcs/class/System.XML/System.Xml/XmlLinkedNode.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// System.Xml.XmlLinkedNode
-//
-// Authors:
-// Jason Diamond <jason@injektilo.org>
-// Kral Ferch <kral_ferch@hotmail.com>
-//
-// (C) 2002 Jason Diamond, Kral Ferch
-//
-
-using System;
-
-namespace System.Xml
-{
- public abstract class XmlLinkedNode : XmlNode
- {
- #region Fields
-
- XmlLinkedNode nextSibling;
-
- #endregion
-
- #region Constructors
- internal XmlLinkedNode(XmlDocument doc) : base(doc) { }
-
- #endregion
-
- #region Properties
-
- public override XmlNode NextSibling
- {
- get {
- if (Object.ReferenceEquals(nextSibling, ParentNode.LastLinkedChild.NextLinkedSibling) == false) {
- return nextSibling;
- }
- else {
- return null;
- }
- }
- }
-
- internal XmlLinkedNode NextLinkedSibling
- {
- get { return nextSibling; }
- set { nextSibling = value; }
- }
-
- public override XmlNode PreviousSibling
- {
- get {
- if (ParentNode != null) {
- XmlNode node = ParentNode.FirstChild;
- if (node != this) {
- do {
- if (node.NextSibling == this)
- return node;
- } while ((node = node.NextSibling) != null);
- }
- }
- return null;
- }
- }
-
- #endregion
- }
-}