-#if NET_2_0\r
/*\r
Copyright (c) 2003-2006 Niels Kokholm and Peter Sestoft\r
Permission is hereby granted, free of charge, to any person obtaining a copy\r
if (i < 0 || i >= size)\r
throw new IndexOutOfRangeException();\r
i = i + front;\r
- return array[i >= size ? i - size : i];\r
+ //Bug fix by Steve Wallace 2006/02/10\r
+ return array[i >= array.Length ? i - array.Length : i];\r
}\r
}\r
\r
return true;\r
}\r
}\r
-}\r
-#endif\r
+}
\ No newline at end of file