diff options
author | Martin Baulig <martin@novell.com> | 2006-03-06 16:58:40 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2006-03-06 16:58:40 +0300 |
commit | c17522c9479a7ff0ee20d77506577ae6c961123c (patch) | |
tree | ef0c2e248ac4d822a23b324ceee89d23dfe43021 /mcs/class/Mono.C5 | |
parent | 432347953f90e71c66e3b3ef3d7b7a01394030c2 (diff) |
Don't define HASHINDEX, but make it compile anyways.
svn path=/trunk/mcs/; revision=57611
Diffstat (limited to 'mcs/class/Mono.C5')
-rw-r--r-- | mcs/class/Mono.C5/C5/linkedlists/LinkedList.cs | 6 | ||||
-rw-r--r-- | mcs/class/Mono.C5/ChangeLog | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/Mono.C5/C5/linkedlists/LinkedList.cs b/mcs/class/Mono.C5/C5/linkedlists/LinkedList.cs index 94b5638c173..943a194f384 100644 --- a/mcs/class/Mono.C5/C5/linkedlists/LinkedList.cs +++ b/mcs/class/Mono.C5/C5/linkedlists/LinkedList.cs @@ -20,7 +20,7 @@ SOFTWARE.
*/
-#define HASHINDEX
+#define HASHINDEXnot
using System;
using System.Diagnostics;
@@ -1879,7 +1879,11 @@ namespace C5 throw new NotAViewException("List not a view");
#pragma warning disable 472
+#if HASHINDEX if (this.offset == null) //Note: only possible with HASHINDEX
+#else + if (this.offset == 0) //Note: only possible with HASHINDEX
+#endif #pragma warning restore 472
{
#pragma warning disable 162
diff --git a/mcs/class/Mono.C5/ChangeLog b/mcs/class/Mono.C5/ChangeLog index 1d455b9668d..9225fde9964 100644 --- a/mcs/class/Mono.C5/ChangeLog +++ b/mcs/class/Mono.C5/ChangeLog @@ -3,10 +3,6 @@ * C5/AssemblyInfo.cs: Add `[assembly: AssemblyDelaySign (true)]' and `[assembly: AssemblyKeyFile ("c5.pub")]'. -2006-03-04 Martin Baulig <martin@ximian.com> - - * C5/linkedlists/LinkedList.cs: Define `HASHINDEX'. - 2006-02-16 Martin Baulig <martin@ximian.com> Importing version 1.0 of C5, http://www.itu.dk/research/c5/. |