diff options
author | lbsa71 | 2007-06-13 19:58:57 +0000 |
---|---|---|
committer | lbsa71 | 2007-06-13 19:58:57 +0000 |
commit | 69b3a8a9b84a0fb1918f728e27a92ab52128ae3c (patch) | |
tree | 4b34856cad308a93f23a8b593d1174b104c92b59 /Prebuild/src/Core/Nodes/ReferenceNode.cs | |
parent | * Applying danx0r's ODE patch (diff) | |
download | opensim-SC_OLD-69b3a8a9b84a0fb1918f728e27a92ab52128ae3c.zip opensim-SC_OLD-69b3a8a9b84a0fb1918f728e27a92ab52128ae3c.tar.gz opensim-SC_OLD-69b3a8a9b84a0fb1918f728e27a92ab52128ae3c.tar.bz2 opensim-SC_OLD-69b3a8a9b84a0fb1918f728e27a92ab52128ae3c.tar.xz |
* First attempt at fixing differing build files on different .net flavours.
* And, as always, some bin ignores
Diffstat (limited to '')
-rw-r--r-- | Prebuild/src/Core/Nodes/ReferenceNode.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Prebuild/src/Core/Nodes/ReferenceNode.cs b/Prebuild/src/Core/Nodes/ReferenceNode.cs index beb50dc..a2880c0 100644 --- a/Prebuild/src/Core/Nodes/ReferenceNode.cs +++ b/Prebuild/src/Core/Nodes/ReferenceNode.cs | |||
@@ -45,7 +45,7 @@ namespace Prebuild.Core.Nodes | |||
45 | /// | 45 | /// |
46 | /// </summary> | 46 | /// </summary> |
47 | [DataNode("Reference")] | 47 | [DataNode("Reference")] |
48 | public class ReferenceNode : DataNode | 48 | public class ReferenceNode : DataNode, IComparable |
49 | { | 49 | { |
50 | #region Fields | 50 | #region Fields |
51 | 51 | ||
@@ -139,5 +139,15 @@ namespace Prebuild.Core.Nodes | |||
139 | } | 139 | } |
140 | 140 | ||
141 | #endregion | 141 | #endregion |
142 | } | 142 | |
143 | #region IComparable Members | ||
144 | |||
145 | public int CompareTo(object obj) | ||
146 | { | ||
147 | ReferenceNode that = (ReferenceNode)obj; | ||
148 | return this.m_Name.CompareTo(that.m_Name); | ||
149 | } | ||
150 | |||
151 | #endregion | ||
152 | } | ||
143 | } | 153 | } |