ggeurts / nhive

Automatically exported from code.google.com/p/nhive
0 stars 0 forks source link

Avoid conditionally compiled code #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following pairs of source files are the same, except for their usage of
conditional defines to modify the collection implementation:
 #RedBlackTreeSet.cs and RedBlackTreeBag.cs;
 #ArrayList.cs and HashedArayList.cs;
 #LinkedList.cs and HashedLinkedList.cs.

The duplication of code between these files and the usage of conditional
defines hampers the effective use of refactoring tools. For example, a
Visual Studio 2005 rename refactoring does not refactor source code that is
excluded by conditional defines.

Original issue reported on code.google.com by ggeu...@gmail.com on 11 Apr 2007 at 10:19

GoogleCodeExporter commented 9 years ago

Original comment by ggeu...@gmail.com on 11 Apr 2007 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by ggeu...@gmail.com on 11 Apr 2007 at 10:43